Skip to content
Vectorlight.net

#cc0fb9

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

HEX
#cc0fb9
RGB
204, 15, 185
HSL
306.03°, 86.3%, 42.94%
OKLCH
0.59 0.26 333.61
Names
—
Lists

Codes

FormatValue
HEX#cc0fb9
RGBrgb(204 15 185)
HSLhsl(306.03 86.3% 42.94%)
OKLCHoklch(0.59 0.26 333.61)
CMYKcmyk(0% 92.65% 9.31% 20%)
Android#ffcc0fb9

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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