Skip to content
Vectorlight.net

#cc8caa

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

HEX
#cc8caa
RGB
204, 140, 170
HSL
331.88°, 38.55%, 67.45%
OKLCH
0.71 0.09 349.86
Names
—
Lists

Codes

FormatValue
HEX#cc8caa
RGBrgb(204 140 170)
HSLhsl(331.88 38.55% 67.45%)
OKLCHoklch(0.71 0.09 349.86)
CMYKcmyk(0% 31.37% 16.67% 20%)
Android#ffcc8caa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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