Skip to content
Vectorlight.net

#cc0d8d

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

HEX
#cc0d8d
RGB
204, 13, 141
HSL
319.79°, 88.02%, 42.55%
OKLCH
0.56 0.23 347.83
Names
—
Lists

Codes

FormatValue
HEX#cc0d8d
RGBrgb(204 13 141)
HSLhsl(319.79 88.02% 42.55%)
OKLCHoklch(0.56 0.23 347.83)
CMYKcmyk(0% 93.63% 30.88% 20%)
Android#ffcc0d8d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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