Skip to content
Vectorlight.net

#cf181c

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

HEX
#cf181c
RGB
207, 24, 28
HSL
358.69°, 79.22%, 45.29%
OKLCH
0.54 0.21 27.45
Names
—
Lists

Codes

FormatValue
HEX#cf181c
RGBrgb(207 24 28)
HSLhsl(358.69 79.22% 45.29%)
OKLCHoklch(0.54 0.21 27.45)
CMYKcmyk(0% 88.41% 86.47% 18.82%)
Android#ffcf181c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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