Skip to content
Vectorlight.net

#cc34af

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

HEX
#cc34af
RGB
204, 52, 175
HSL
311.45°, 59.84%, 50.2%
OKLCH
0.6 0.22 337.01
Names
—
Lists

Codes

FormatValue
HEX#cc34af
RGBrgb(204 52 175)
HSLhsl(311.45 59.84% 50.2%)
OKLCHoklch(0.6 0.22 337.01)
CMYKcmyk(0% 74.51% 14.22% 20%)
Android#ffcc34af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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