Skip to content
Vectorlight.net

#b5221d

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

HEX
#b5221d
RGB
181, 34, 29
HSL
1.97°, 72.38%, 41.18%
OKLCH
0.5 0.18 28.19
Names
—
Lists

Codes

FormatValue
HEX#b5221d
RGBrgb(181 34 29)
HSLhsl(1.97 72.38% 41.18%)
OKLCHoklch(0.5 0.18 28.19)
CMYKcmyk(0% 81.22% 83.98% 29.02%)
Android#ffb5221d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #b5221d;
background-color: #b5221d;
bg-[#b5221d]