Skip to content
Vectorlight.net

#cc319e

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

HEX
#cc319e
RGB
204, 49, 158
HSL
317.81°, 61.26%, 49.61%
OKLCH
0.59 0.22 342.86
Names
—
Lists

Codes

FormatValue
HEX#cc319e
RGBrgb(204 49 158)
HSLhsl(317.81 61.26% 49.61%)
OKLCHoklch(0.59 0.22 342.86)
CMYKcmyk(0% 75.98% 22.55% 20%)
Android#ffcc319e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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