Skip to content
Vectorlight.net

#cf2a40

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#cf2a40
RGB
207, 42, 64
HSL
352°, 66.27%, 48.82%
OKLCH
0.56 0.2 20.11
Names
—
Lists

Codes

FormatValue
HEX#cf2a40
RGBrgb(207 42 64)
HSLhsl(352 66.27% 48.82%)
OKLCHoklch(0.56 0.2 20.11)
CMYKcmyk(0% 79.71% 69.08% 18.82%)
Android#ffcf2a40

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.17:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.05:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#cf2a40"
Gradient stop
<stop stop-color="#cf2a40"/>
CSS variable + fill
:root { --c: #cf2a40; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #cf2a40;
background-color: #cf2a40;
bg-[#cf2a40]