Skip to content
Vectorlight.net

#e4221f

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

HEX
#e4221f
RGB
228, 34, 31
HSL
0.91°, 78.49%, 50.78%
OKLCH
0.59 0.22 28.23
Names
—
Lists

Codes

FormatValue
HEX#e4221f
RGBrgb(228 34 31)
HSLhsl(0.91 78.49% 50.78%)
OKLCHoklch(0.59 0.22 28.23)
CMYKcmyk(0% 85.09% 86.4% 10.59%)
Android#ffe4221f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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