Skip to content
Vectorlight.net

#e431ab

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

HEX
#e431ab
RGB
228, 49, 171
HSL
319.11°, 76.82%, 54.31%
OKLCH
0.63 0.24 344.55
Names
—
Lists

Codes

FormatValue
HEX#e431ab
RGBrgb(228 49 171)
HSLhsl(319.11 76.82% 54.31%)
OKLCHoklch(0.63 0.24 344.55)
CMYKcmyk(0% 78.51% 25% 10.59%)
Android#ffe431ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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