Skip to content
Vectorlight.net

#e4122d

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

HEX
#e4122d
RGB
228, 18, 45
HSL
352.29°, 85.37%, 48.24%
OKLCH
0.58 0.23 24.28
Names
—
Lists

Codes

FormatValue
HEX#e4122d
RGBrgb(228 18 45)
HSLhsl(352.29 85.37% 48.24%)
OKLCHoklch(0.58 0.23 24.28)
CMYKcmyk(0% 92.11% 80.26% 10.59%)
Android#ffe4122d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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