Skip to content
Vectorlight.net

#e40804

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

HEX
#e40804
RGB
228, 8, 4
HSL
1.07°, 96.55%, 45.49%
OKLCH
0.58 0.24 29.26
Names
—
Lists

Codes

FormatValue
HEX#e40804
RGBrgb(228 8 4)
HSLhsl(1.07 96.55% 45.49%)
OKLCHoklch(0.58 0.24 29.26)
CMYKcmyk(0% 96.49% 98.25% 10.59%)
Android#ffe40804

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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