Skip to content
Vectorlight.net

#e2281a

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

HEX
#e2281a
RGB
226, 40, 26
HSL
4.2°, 79.37%, 49.41%
OKLCH
0.59 0.22 29.68
Names
—
Lists

Codes

FormatValue
HEX#e2281a
RGBrgb(226 40 26)
HSLhsl(4.2 79.37% 49.41%)
OKLCHoklch(0.59 0.22 29.68)
CMYKcmyk(0% 82.3% 88.5% 11.37%)
Android#ffe2281a

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

Recolor an SVG with this color

CSS

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