Skip to content
Vectorlight.net

#cc427c

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

HEX
#cc427c
RGB
204, 66, 124
HSL
334.78°, 57.5%, 52.94%
OKLCH
0.59 0.18 358.42
Names
—
Lists

Codes

FormatValue
HEX#cc427c
RGBrgb(204 66 124)
HSLhsl(334.78 57.5% 52.94%)
OKLCHoklch(0.59 0.18 358.42)
CMYKcmyk(0% 67.65% 39.22% 20%)
Android#ffcc427c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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