Skip to content
Vectorlight.net

#e31d3f

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

HEX
#e31d3f
RGB
227, 29, 63
HSL
349.7°, 77.95%, 50.2%
OKLCH
0.59 0.22 20.47
Names
—
Lists

Codes

FormatValue
HEX#e31d3f
RGBrgb(227 29 63)
HSLhsl(349.7 77.95% 50.2%)
OKLCHoklch(0.59 0.22 20.47)
CMYKcmyk(0% 87.22% 72.25% 10.98%)
Android#ffe31d3f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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