Skip to content
Vectorlight.net

#cc239c

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

HEX
#cc239c
RGB
204, 35, 156
HSL
317.04°, 70.71%, 46.86%
OKLCH
0.58 0.23 343.09
Names
—
Lists

Codes

FormatValue
HEX#cc239c
RGBrgb(204 35 156)
HSLhsl(317.04 70.71% 46.86%)
OKLCHoklch(0.58 0.23 343.09)
CMYKcmyk(0% 82.84% 23.53% 20%)
Android#ffcc239c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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