Skip to content
Vectorlight.net

#cc317b

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

HEX
#cc317b
RGB
204, 49, 123
HSL
331.35°, 61.26%, 49.61%
OKLCH
0.57 0.2 356.65
Names
—
Lists

Codes

FormatValue
HEX#cc317b
RGBrgb(204 49 123)
HSLhsl(331.35 61.26% 49.61%)
OKLCHoklch(0.57 0.2 356.65)
CMYKcmyk(0% 75.98% 39.71% 20%)
Android#ffcc317b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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