Skip to content
Vectorlight.net

#08040a

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

HEX
#08040a
RGB
8, 4, 10
HSL
280°, 42.86%, 2.75%
OKLCH
0.12 0.02 316.25
Names
—
Lists

Codes

FormatValue
HEX#08040a
RGBrgb(8 4 10)
HSLhsl(280 42.86% 2.75%)
OKLCHoklch(0.12 0.02 316.25)
CMYKcmyk(20% 60% 0% 96.08%)
Android#ff08040a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #08040a;
background-color: #08040a;
bg-[#08040a]