Skip to content
Vectorlight.net

#5d021b

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

HEX
#5d021b
RGB
93, 2, 27
HSL
343.52°, 95.79%, 18.63%
OKLCH
0.31 0.12 14.8
Names
—
Lists

Codes

FormatValue
HEX#5d021b
RGBrgb(93 2 27)
HSLhsl(343.52 95.79% 18.63%)
OKLCHoklch(0.31 0.12 14.8)
CMYKcmyk(0% 97.85% 70.97% 63.53%)
Android#ff5d021b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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