Skip to content
Vectorlight.net

#cc28da

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

HEX
#cc28da
RGB
204, 40, 218
HSL
295.28°, 70.63%, 50.59%
OKLCH
0.61 0.27 324.45
Names
—
Lists

Codes

FormatValue
HEX#cc28da
RGBrgb(204 40 218)
HSLhsl(295.28 70.63% 50.59%)
OKLCHoklch(0.61 0.27 324.45)
CMYKcmyk(6.42% 81.65% 0% 14.51%)
Android#ffcc28da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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