Skip to content
Vectorlight.net

#cf166a

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

HEX
#cf166a
RGB
207, 22, 106
HSL
332.76°, 80.79%, 44.9%
OKLCH
0.56 0.22 2.02
Names
—
Lists

Codes

FormatValue
HEX#cf166a
RGBrgb(207 22 106)
HSLhsl(332.76 80.79% 44.9%)
OKLCHoklch(0.56 0.22 2.02)
CMYKcmyk(0% 89.37% 48.79% 18.82%)
Android#ffcf166a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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