Skip to content
Vectorlight.net

#cc239f

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

HEX
#cc239f
RGB
204, 35, 159
HSL
315.98°, 70.71%, 46.86%
OKLCH
0.58 0.23 342.05
Names
—
Lists

Codes

FormatValue
HEX#cc239f
RGBrgb(204 35 159)
HSLhsl(315.98 70.71% 46.86%)
OKLCHoklch(0.58 0.23 342.05)
CMYKcmyk(0% 82.84% 22.06% 20%)
Android#ffcc239f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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