Skip to content
Vectorlight.net

#cc3158

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

HEX
#cc3158
RGB
204, 49, 88
HSL
344.9°, 61.26%, 49.61%
OKLCH
0.56 0.19 11.63
Names
—
Lists

Codes

FormatValue
HEX#cc3158
RGBrgb(204 49 88)
HSLhsl(344.9 61.26% 49.61%)
OKLCHoklch(0.56 0.19 11.63)
CMYKcmyk(0% 75.98% 56.86% 20%)
Android#ffcc3158

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.06:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.14:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#cc3158"
Gradient stop
<stop stop-color="#cc3158"/>
CSS variable + fill
:root { --c: #cc3158; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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