Skip to content
Vectorlight.net

#cf1812

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

HEX
#cf1812
RGB
207, 24, 18
HSL
1.9°, 84%, 44.12%
OKLCH
0.54 0.21 28.98
Names
—
Lists

Codes

FormatValue
HEX#cf1812
RGBrgb(207 24 18)
HSLhsl(1.9 84% 44.12%)
OKLCHoklch(0.54 0.21 28.98)
CMYKcmyk(0% 88.41% 91.3% 18.82%)
Android#ffcf1812

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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