Skip to content
Vectorlight.net

#cc04cf

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

HEX
#cc04cf
RGB
204, 4, 207
HSL
299.11°, 96.21%, 41.37%
OKLCH
0.6 0.27 327.57
Names
—
Lists

Codes

FormatValue
HEX#cc04cf
RGBrgb(204 4 207)
HSLhsl(299.11 96.21% 41.37%)
OKLCHoklch(0.6 0.27 327.57)
CMYKcmyk(1.45% 98.07% 0% 18.82%)
Android#ffcc04cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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