Skip to content
Vectorlight.net

#e431b2

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

HEX
#e431b2
RGB
228, 49, 178
HSL
316.76°, 76.82%, 54.31%
OKLCH
0.64 0.24 342.29
Names
—
Lists

Codes

FormatValue
HEX#e431b2
RGBrgb(228 49 178)
HSLhsl(316.76 76.82% 54.31%)
OKLCHoklch(0.64 0.24 342.29)
CMYKcmyk(0% 78.51% 21.93% 10.59%)
Android#ffe431b2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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