Skip to content
Vectorlight.net

#cc518e

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

HEX
#cc518e
RGB
204, 81, 142
HSL
330.24°, 54.67%, 55.88%
OKLCH
0.61 0.17 352.35
Names
—
Lists

Codes

FormatValue
HEX#cc518e
RGBrgb(204 81 142)
HSLhsl(330.24 54.67% 55.88%)
OKLCHoklch(0.61 0.17 352.35)
CMYKcmyk(0% 60.29% 30.39% 20%)
Android#ffcc518e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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