Skip to content
Vectorlight.net

#cc315e

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

HEX
#cc315e
RGB
204, 49, 94
HSL
342.58°, 61.26%, 49.61%
OKLCH
0.57 0.19 9.09
Names
—
Lists

Codes

FormatValue
HEX#cc315e
RGBrgb(204 49 94)
HSLhsl(342.58 61.26% 49.61%)
OKLCHoklch(0.57 0.19 9.09)
CMYKcmyk(0% 75.98% 53.92% 20%)
Android#ffcc315e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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