Skip to content
Vectorlight.net

#e31b58

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

HEX
#e31b58
RGB
227, 27, 88
HSL
341.7°, 78.74%, 49.8%
OKLCH
0.59 0.23 12.37
Names
—
Lists

Codes

FormatValue
HEX#e31b58
RGBrgb(227 27 88)
HSLhsl(341.7 78.74% 49.8%)
OKLCHoklch(0.59 0.23 12.37)
CMYKcmyk(0% 88.11% 61.23% 10.98%)
Android#ffe31b58

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.56:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#e31b58"
Gradient stop
<stop stop-color="#e31b58"/>
CSS variable + fill
:root { --c: #e31b58; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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