Skip to content
Vectorlight.net

#cc0caa

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

HEX
#cc0caa
RGB
204, 12, 170
HSL
310.63°, 88.89%, 42.35%
OKLCH
0.58 0.25 338.13
Names
—
Lists

Codes

FormatValue
HEX#cc0caa
RGBrgb(204 12 170)
HSLhsl(310.63 88.89% 42.35%)
OKLCHoklch(0.58 0.25 338.13)
CMYKcmyk(0% 94.12% 16.67% 20%)
Android#ffcc0caa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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