Skip to content
Vectorlight.net

#08181c

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

HEX
#08181c
RGB
8, 24, 28
HSL
192°, 55.56%, 7.06%
OKLCH
0.2 0.02 215.83
Names
—
Lists

Codes

FormatValue
HEX#08181c
RGBrgb(8 24 28)
HSLhsl(192 55.56% 7.06%)
OKLCHoklch(0.2 0.02 215.83)
CMYKcmyk(71.43% 14.29% 0% 89.02%)
Android#ff08181c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #08181c;
background-color: #08181c;
bg-[#08181c]