Skip to content
Vectorlight.net

#cc387e

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

HEX
#cc387e
RGB
204, 56, 126
HSL
331.62°, 59.2%, 50.98%
OKLCH
0.58 0.19 356.15
Names
—
Lists

Codes

FormatValue
HEX#cc387e
RGBrgb(204 56 126)
HSLhsl(331.62 59.2% 50.98%)
OKLCHoklch(0.58 0.19 356.15)
CMYKcmyk(0% 72.55% 38.24% 20%)
Android#ffcc387e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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