Skip to content
Vectorlight.net

#cc387c

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

HEX
#cc387c
RGB
204, 56, 124
HSL
332.43°, 59.2%, 50.98%
OKLCH
0.58 0.19 357.02
Names
—
Lists

Codes

FormatValue
HEX#cc387c
RGBrgb(204 56 124)
HSLhsl(332.43 59.2% 50.98%)
OKLCHoklch(0.58 0.19 357.02)
CMYKcmyk(0% 72.55% 39.22% 20%)
Android#ffcc387c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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