Skip to content
Vectorlight.net

#e71faf

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

HEX
#e71faf
RGB
231, 31, 175
HSL
316.8°, 80.65%, 51.37%
OKLCH
0.63 0.26 343.49
Names
—
Lists

Codes

FormatValue
HEX#e71faf
RGBrgb(231 31 175)
HSLhsl(316.8 80.65% 51.37%)
OKLCHoklch(0.63 0.26 343.49)
CMYKcmyk(0% 86.58% 24.24% 9.41%)
Android#ffe71faf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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