Skip to content
Vectorlight.net

#cc87aa

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

HEX
#cc87aa
RGB
204, 135, 170
HSL
329.57°, 40.35%, 66.47%
OKLCH
0.7 0.1 348.03
Names
—
Lists

Codes

FormatValue
HEX#cc87aa
RGBrgb(204 135 170)
HSLhsl(329.57 40.35% 66.47%)
OKLCHoklch(0.7 0.1 348.03)
CMYKcmyk(0% 33.82% 16.67% 20%)
Android#ffcc87aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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