Skip to content
Vectorlight.net

#cf042c

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

HEX
#cf042c
RGB
207, 4, 44
HSL
348.18°, 96.21%, 41.37%
OKLCH
0.54 0.22 22.68
Names
—
Lists

Codes

FormatValue
HEX#cf042c
RGBrgb(207 4 44)
HSLhsl(348.18 96.21% 41.37%)
OKLCHoklch(0.54 0.22 22.68)
CMYKcmyk(0% 98.07% 78.74% 18.82%)
Android#ffcf042c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.70: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="#cf042c"
Gradient stop
<stop stop-color="#cf042c"/>
CSS variable + fill
:root { --c: #cf042c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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