Skip to content
Vectorlight.net

#5f111b

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

HEX
#5f111b
RGB
95, 17, 27
HSL
352.31°, 69.64%, 21.96%
OKLCH
0.32 0.11 19.45
Names
—
Lists

Codes

FormatValue
HEX#5f111b
RGBrgb(95 17 27)
HSLhsl(352.31 69.64% 21.96%)
OKLCHoklch(0.32 0.11 19.45)
CMYKcmyk(0% 82.11% 71.58% 62.75%)
Android#ff5f111b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5f111b;
background-color: #5f111b;
bg-[#5f111b]