Skip to content
Vectorlight.net

#cc97bc

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

HEX
#cc97bc
RGB
204, 151, 188
HSL
318.11°, 34.19%, 69.61%
OKLCH
0.74 0.08 337.88
Names
—
Lists

Codes

FormatValue
HEX#cc97bc
RGBrgb(204 151 188)
HSLhsl(318.11 34.19% 69.61%)
OKLCHoklch(0.74 0.08 337.88)
CMYKcmyk(0% 25.98% 7.84% 20%)
Android#ffcc97bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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