Skip to content
Vectorlight.net

#8e040a

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

HEX
#8e040a
RGB
142, 4, 10
HSL
357.39°, 94.52%, 28.63%
OKLCH
0.41 0.16 27.69
Names
—
Lists

Codes

FormatValue
HEX#8e040a
RGBrgb(142 4 10)
HSLhsl(357.39 94.52% 28.63%)
OKLCHoklch(0.41 0.16 27.69)
CMYKcmyk(0% 97.18% 92.96% 44.31%)
Android#ff8e040a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8e040a;
background-color: #8e040a;
bg-[#8e040a]