Skip to content
Vectorlight.net

#ce2ab2

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

HEX
#ce2ab2
RGB
206, 42, 178
HSL
310.24°, 66.13%, 48.63%
OKLCH
0.6 0.24 336.43
Names
—
Lists

Codes

FormatValue
HEX#ce2ab2
RGBrgb(206 42 178)
HSLhsl(310.24 66.13% 48.63%)
OKLCHoklch(0.6 0.24 336.43)
CMYKcmyk(0% 79.61% 13.59% 19.22%)
Android#ffce2ab2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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