Skip to content
Vectorlight.net

#cc5786

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

HEX
#cc5786
RGB
204, 87, 134
HSL
335.9°, 53.42%, 57.06%
OKLCH
0.62 0.16 357.52
Names
—
Lists

Codes

FormatValue
HEX#cc5786
RGBrgb(204 87 134)
HSLhsl(335.9 53.42% 57.06%)
OKLCHoklch(0.62 0.16 357.52)
CMYKcmyk(0% 57.35% 34.31% 20%)
Android#ffcc5786

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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