Skip to content
Vectorlight.net

#5b271e

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

HEX
#5b271e
RGB
91, 39, 30
HSL
8.85°, 50.41%, 23.73%
OKLCH
0.34 0.08 31.48
Names
—
Lists

Codes

FormatValue
HEX#5b271e
RGBrgb(91 39 30)
HSLhsl(8.85 50.41% 23.73%)
OKLCHoklch(0.34 0.08 31.48)
CMYKcmyk(0% 57.14% 67.03% 64.31%)
Android#ff5b271e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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