Skip to content
Vectorlight.net

#cc02ad

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

HEX
#cc02ad
RGB
204, 2, 173
HSL
309.21°, 98.06%, 40.39%
OKLCH
0.58 0.25 337.15
Names
—
Lists

Codes

FormatValue
HEX#cc02ad
RGBrgb(204 2 173)
HSLhsl(309.21 98.06% 40.39%)
OKLCHoklch(0.58 0.25 337.15)
CMYKcmyk(0% 99.02% 15.2% 20%)
Android#ffcc02ad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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