Skip to content
Vectorlight.net

#cc428b

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

HEX
#cc428b
RGB
204, 66, 139
HSL
328.26°, 57.5%, 52.94%
OKLCH
0.6 0.19 351.68
Names
—
Lists

Codes

FormatValue
HEX#cc428b
RGBrgb(204 66 139)
HSLhsl(328.26 57.5% 52.94%)
OKLCHoklch(0.6 0.19 351.68)
CMYKcmyk(0% 67.65% 31.86% 20%)
Android#ffcc428b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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