Skip to content
Vectorlight.net

#cc71ab

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

HEX
#cc71ab
RGB
204, 113, 171
HSL
321.76°, 47.15%, 62.16%
OKLCH
0.67 0.13 342.5
Names
—
Lists

Codes

FormatValue
HEX#cc71ab
RGBrgb(204 113 171)
HSLhsl(321.76 47.15% 62.16%)
OKLCHoklch(0.67 0.13 342.5)
CMYKcmyk(0% 44.61% 16.18% 20%)
Android#ffcc71ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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