Skip to content
Vectorlight.net

#b22233

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

HEX
#b22233
RGB
178, 34, 51
HSL
352.92°, 67.92%, 41.57%
OKLCH
0.5 0.18 21.08
Names
—
Lists

Codes

FormatValue
HEX#b22233
RGBrgb(178 34 51)
HSLhsl(352.92 67.92% 41.57%)
OKLCHoklch(0.5 0.18 21.08)
CMYKcmyk(0% 80.9% 71.35% 30.2%)
Android#ffb22233

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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