Skip to content
Vectorlight.net

#cc007a

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

HEX
#cc007a
RGB
204, 0, 122
HSL
324.12°, 100%, 40%
OKLCH
0.55 0.23 354.5
Names
—
Lists

Codes

FormatValue
HEX#cc007a
RGBrgb(204 0 122)
HSLhsl(324.12 100% 40%)
OKLCHoklch(0.55 0.23 354.5)
CMYKcmyk(0% 100% 40.2% 20%)
Android#ffcc007a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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