Skip to content
Vectorlight.net

#cc34ad

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

HEX
#cc34ad
RGB
204, 52, 173
HSL
312.24°, 59.84%, 50.2%
OKLCH
0.6 0.22 337.69
Names
—
Lists

Codes

FormatValue
HEX#cc34ad
RGBrgb(204 52 173)
HSLhsl(312.24 59.84% 50.2%)
OKLCHoklch(0.6 0.22 337.69)
CMYKcmyk(0% 74.51% 15.2% 20%)
Android#ffcc34ad

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.66:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#cc34ad"
Gradient stop
<stop stop-color="#cc34ad"/>
CSS variable + fill
:root { --c: #cc34ad; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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