Skip to content
Vectorlight.net

#cc28bb

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

HEX
#cc28bb
RGB
204, 40, 187
HSL
306.22°, 67.21%, 47.84%
OKLCH
0.6 0.24 333.08
Names
—
Lists

Codes

FormatValue
HEX#cc28bb
RGBrgb(204 40 187)
HSLhsl(306.22 67.21% 47.84%)
OKLCHoklch(0.6 0.24 333.08)
CMYKcmyk(0% 80.39% 8.33% 20%)
Android#ffcc28bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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