Skip to content
Vectorlight.net

#e31ea1

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

HEX
#e31ea1
RGB
227, 30, 161
HSL
320.1°, 77.87%, 50.39%
OKLCH
0.62 0.25 346.96
Names
—
Lists

Codes

FormatValue
HEX#e31ea1
RGBrgb(227 30 161)
HSLhsl(320.1 77.87% 50.39%)
OKLCHoklch(0.62 0.25 346.96)
CMYKcmyk(0% 86.78% 29.07% 10.98%)
Android#ffe31ea1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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