Skip to content
Vectorlight.net

#cf151e

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

HEX
#cf151e
RGB
207, 21, 30
HSL
357.1°, 81.58%, 44.71%
OKLCH
0.54 0.21 26.82
Names
—
Lists

Codes

FormatValue
HEX#cf151e
RGBrgb(207 21 30)
HSLhsl(357.1 81.58% 44.71%)
OKLCHoklch(0.54 0.21 26.82)
CMYKcmyk(0% 89.86% 85.51% 18.82%)
Android#ffcf151e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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