Skip to content
Vectorlight.net

#b5212e

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

HEX
#b5212e
RGB
181, 33, 46
HSL
354.73°, 69.16%, 41.96%
OKLCH
0.5 0.18 22.96
Names
—
Lists

Codes

FormatValue
HEX#b5212e
RGBrgb(181 33 46)
HSLhsl(354.73 69.16% 41.96%)
OKLCHoklch(0.5 0.18 22.96)
CMYKcmyk(0% 81.77% 74.59% 29.02%)
Android#ffb5212e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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