Skip to content
Vectorlight.net

#ce2fa2

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

HEX
#ce2fa2
RGB
206, 47, 162
HSL
316.6°, 62.85%, 49.61%
OKLCH
0.59 0.22 341.9
Names
—
Lists

Codes

FormatValue
HEX#ce2fa2
RGBrgb(206 47 162)
HSLhsl(316.6 62.85% 49.61%)
OKLCHoklch(0.59 0.22 341.9)
CMYKcmyk(0% 77.18% 21.36% 19.22%)
Android#ffce2fa2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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