Skip to content
Vectorlight.net

#cc5162

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

HEX
#cc5162
RGB
204, 81, 98
HSL
351.71°, 54.67%, 55.88%
OKLCH
0.6 0.16 14.8
Names
—
Lists

Codes

FormatValue
HEX#cc5162
RGBrgb(204 81 98)
HSLhsl(351.71 54.67% 55.88%)
OKLCHoklch(0.6 0.16 14.8)
CMYKcmyk(0% 60.29% 51.96% 20%)
Android#ffcc5162

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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