Skip to content
Vectorlight.net

#b2022b

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

HEX
#b2022b
RGB
178, 2, 43
HSL
346.02°, 97.78%, 35.29%
OKLCH
0.48 0.19 20.54
Names
—
Lists

Codes

FormatValue
HEX#b2022b
RGBrgb(178 2 43)
HSLhsl(346.02 97.78% 35.29%)
OKLCHoklch(0.48 0.19 20.54)
CMYKcmyk(0% 98.88% 75.84% 30.2%)
Android#ffb2022b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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