Skip to content
Vectorlight.net

#e4241c

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

HEX
#e4241c
RGB
228, 36, 28
HSL
2.4°, 78.74%, 50.2%
OKLCH
0.59 0.22 28.9
Names
—
Lists

Codes

FormatValue
HEX#e4241c
RGBrgb(228 36 28)
HSLhsl(2.4 78.74% 50.2%)
OKLCHoklch(0.59 0.22 28.9)
CMYKcmyk(0% 84.21% 87.72% 10.59%)
Android#ffe4241c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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