Skip to content
Vectorlight.net

#b22121

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

HEX
#b22121
RGB
178, 33, 33
HSL
0°, 68.72%, 41.37%
OKLCH
0.5 0.18 26.91
Names
—
Lists

Codes

FormatValue
HEX#b22121
RGBrgb(178 33 33)
HSLhsl(0 68.72% 41.37%)
OKLCHoklch(0.5 0.18 26.91)
CMYKcmyk(0% 81.46% 81.46% 30.2%)
Android#ffb22121

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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