Skip to content
Vectorlight.net

#ce28ac

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

HEX
#ce28ac
RGB
206, 40, 172
HSL
312.29°, 67.48%, 48.24%
OKLCH
0.59 0.23 338.34
Names
—
Lists

Codes

FormatValue
HEX#ce28ac
RGBrgb(206 40 172)
HSLhsl(312.29 67.48% 48.24%)
OKLCHoklch(0.59 0.23 338.34)
CMYKcmyk(0% 80.58% 16.5% 19.22%)
Android#ffce28ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ce28ac"
Gradient stop
<stop stop-color="#ce28ac"/>
CSS variable + fill
:root { --c: #ce28ac; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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