Skip to content
Vectorlight.net

#e72fab

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

HEX
#e72fab
RGB
231, 47, 171
HSL
319.57°, 79.31%, 54.51%
OKLCH
0.64 0.24 345.19
Names
—
Lists

Codes

FormatValue
HEX#e72fab
RGBrgb(231 47 171)
HSLhsl(319.57 79.31% 54.51%)
OKLCHoklch(0.64 0.24 345.19)
CMYKcmyk(0% 79.65% 25.97% 9.41%)
Android#ffe72fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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