Skip to content
Vectorlight.net

#cf021c

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

HEX
#cf021c
RGB
207, 2, 28
HSL
352.39°, 98.09%, 40.98%
OKLCH
0.54 0.22 26.07
Names
—
Lists

Codes

FormatValue
HEX#cf021c
RGBrgb(207 2 28)
HSLhsl(352.39 98.09% 40.98%)
OKLCHoklch(0.54 0.22 26.07)
CMYKcmyk(0% 99.03% 86.47% 18.82%)
Android#ffcf021c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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