Skip to content
Vectorlight.net

#cf21bb

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

HEX
#cf21bb
RGB
207, 33, 187
HSL
306.9°, 72.5%, 47.06%
OKLCH
0.6 0.25 333.87
Names
—
Lists

Codes

FormatValue
HEX#cf21bb
RGBrgb(207 33 187)
HSLhsl(306.9 72.5% 47.06%)
OKLCHoklch(0.6 0.25 333.87)
CMYKcmyk(0% 84.06% 9.66% 18.82%)
Android#ffcf21bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.58:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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