Skip to content
Vectorlight.net

#cc427a

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

HEX
#cc427a
RGB
204, 66, 122
HSL
335.65°, 57.5%, 52.94%
OKLCH
0.59 0.18 359.35
Names
—
Lists

Codes

FormatValue
HEX#cc427a
RGBrgb(204 66 122)
HSLhsl(335.65 57.5% 52.94%)
OKLCHoklch(0.59 0.18 359.35)
CMYKcmyk(0% 67.65% 40.2% 20%)
Android#ffcc427a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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