Skip to content
Vectorlight.net

#cc7987

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

HEX
#cc7987
RGB
204, 121, 135
HSL
349.88°, 44.86%, 63.73%
OKLCH
0.67 0.1 9.4
Names
—
Lists

Codes

FormatValue
HEX#cc7987
RGBrgb(204 121 135)
HSLhsl(349.88 44.86% 63.73%)
OKLCHoklch(0.67 0.1 9.4)
CMYKcmyk(0% 40.69% 33.82% 20%)
Android#ffcc7987

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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