Skip to content
Vectorlight.net

#cf162e

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

HEX
#cf162e
RGB
207, 22, 46
HSL
352.22°, 80.79%, 44.9%
OKLCH
0.55 0.21 23.24
Names
—
Lists

Codes

FormatValue
HEX#cf162e
RGBrgb(207 22 46)
HSLhsl(352.22 80.79% 44.9%)
OKLCHoklch(0.55 0.21 23.24)
CMYKcmyk(0% 89.37% 77.78% 18.82%)
Android#ffcf162e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.51: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="#cf162e"
Gradient stop
<stop stop-color="#cf162e"/>
CSS variable + fill
:root { --c: #cf162e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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