Skip to content
Vectorlight.net

#e52ec2

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

HEX
#e52ec2
RGB
229, 46, 194
HSL
311.48°, 77.87%, 53.92%
OKLCH
0.64 0.26 337.59
Names
—
Lists

Codes

FormatValue
HEX#e52ec2
RGBrgb(229 46 194)
HSLhsl(311.48 77.87% 53.92%)
OKLCHoklch(0.64 0.26 337.59)
CMYKcmyk(0% 79.91% 15.28% 10.2%)
Android#ffe52ec2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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