Skip to content
Vectorlight.net

#cc5aaa

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

HEX
#cc5aaa
RGB
204, 90, 170
HSL
317.89°, 52.78%, 57.65%
OKLCH
0.64 0.17 340.52
Names
—
Lists

Codes

FormatValue
HEX#cc5aaa
RGBrgb(204 90 170)
HSLhsl(317.89 52.78% 57.65%)
OKLCHoklch(0.64 0.17 340.52)
CMYKcmyk(0% 55.88% 16.67% 20%)
Android#ffcc5aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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