Skip to content
Vectorlight.net

#cc427e

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

HEX
#cc427e
RGB
204, 66, 126
HSL
333.91°, 57.5%, 52.94%
OKLCH
0.59 0.18 357.51
Names
—
Lists

Codes

FormatValue
HEX#cc427e
RGBrgb(204 66 126)
HSLhsl(333.91 57.5% 52.94%)
OKLCHoklch(0.59 0.18 357.51)
CMYKcmyk(0% 67.65% 38.24% 20%)
Android#ffcc427e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.64:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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