Skip to content
Vectorlight.net

#e7181b

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

HEX
#e7181b
RGB
231, 24, 27
HSL
359.13°, 81.18%, 50%
OKLCH
0.59 0.23 27.96
Names
—
Lists

Codes

FormatValue
HEX#e7181b
RGBrgb(231 24 27)
HSLhsl(359.13 81.18% 50%)
OKLCHoklch(0.59 0.23 27.96)
CMYKcmyk(0% 89.61% 88.31% 9.41%)
Android#ffe7181b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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