Skip to content
Vectorlight.net

#08040d

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

HEX
#08040d
RGB
8, 4, 13
HSL
266.67°, 52.94%, 3.33%
OKLCH
0.12 0.02 306.87
Names
—
Lists

Codes

FormatValue
HEX#08040d
RGBrgb(8 4 13)
HSLhsl(266.67 52.94% 3.33%)
OKLCHoklch(0.12 0.02 306.87)
CMYKcmyk(38.46% 69.23% 0% 94.9%)
Android#ff08040d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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