Skip to content
Vectorlight.net

#cc279e

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

HEX
#cc279e
RGB
204, 39, 158
HSL
316.73°, 67.9%, 47.65%
OKLCH
0.58 0.23 342.51
Names
—
Lists

Codes

FormatValue
HEX#cc279e
RGBrgb(204 39 158)
HSLhsl(316.73 67.9% 47.65%)
OKLCHoklch(0.58 0.23 342.51)
CMYKcmyk(0% 80.88% 22.55% 20%)
Android#ffcc279e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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