Skip to content
Vectorlight.net

#cc28bd

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

HEX
#cc28bd
RGB
204, 40, 189
HSL
305.49°, 67.21%, 47.84%
OKLCH
0.6 0.24 332.48
Names
—
Lists

Codes

FormatValue
HEX#cc28bd
RGBrgb(204 40 189)
HSLhsl(305.49 67.21% 47.84%)
OKLCHoklch(0.6 0.24 332.48)
CMYKcmyk(0% 80.39% 7.35% 20%)
Android#ffcc28bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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