Skip to content
Vectorlight.net

#cc0dab

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

HEX
#cc0dab
RGB
204, 13, 171
HSL
310.37°, 88.02%, 42.55%
OKLCH
0.58 0.25 337.82
Names
—
Lists

Codes

FormatValue
HEX#cc0dab
RGBrgb(204 13 171)
HSLhsl(310.37 88.02% 42.55%)
OKLCHoklch(0.58 0.25 337.82)
CMYKcmyk(0% 93.63% 16.18% 20%)
Android#ffcc0dab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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