Skip to content
Vectorlight.net

#08020e

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

HEX
#08020e
RGB
8, 2, 14
HSL
270°, 75%, 3.14%
OKLCH
0.11 0.04 309.94
Names
—
Lists

Codes

FormatValue
HEX#08020e
RGBrgb(8 2 14)
HSLhsl(270 75% 3.14%)
OKLCHoklch(0.11 0.04 309.94)
CMYKcmyk(42.86% 85.71% 0% 94.51%)
Android#ff08020e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #08020e;
background-color: #08020e;
bg-[#08020e]