Skip to content
Vectorlight.net

#cc0a7e

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

HEX
#cc0a7e
RGB
204, 10, 126
HSL
324.12°, 90.65%, 41.96%
OKLCH
0.56 0.23 353.24
Names
—
Lists

Codes

FormatValue
HEX#cc0a7e
RGBrgb(204 10 126)
HSLhsl(324.12 90.65% 41.96%)
OKLCHoklch(0.56 0.23 353.24)
CMYKcmyk(0% 95.1% 38.24% 20%)
Android#ffcc0a7e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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