Skip to content
Vectorlight.net

#cc508e

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

HEX
#cc508e
RGB
204, 80, 142
HSL
330°, 54.87%, 55.69%
OKLCH
0.61 0.17 352.2
Names
—
Lists

Codes

FormatValue
HEX#cc508e
RGBrgb(204 80 142)
HSLhsl(330 54.87% 55.69%)
OKLCHoklch(0.61 0.17 352.2)
CMYKcmyk(0% 60.78% 30.39% 20%)
Android#ffcc508e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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