Skip to content
Vectorlight.net

#e31107

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

HEX
#e31107
RGB
227, 17, 7
HSL
2.73°, 94.02%, 45.88%
OKLCH
0.58 0.23 29.47
Names
—
Lists

Codes

FormatValue
HEX#e31107
RGBrgb(227 17 7)
HSLhsl(2.73 94.02% 45.88%)
OKLCHoklch(0.58 0.23 29.47)
CMYKcmyk(0% 92.51% 96.92% 10.98%)
Android#ffe31107

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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