Skip to content
Vectorlight.net

#b22452

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

HEX
#b22452
RGB
178, 36, 82
HSL
340.56°, 66.36%, 41.96%
OKLCH
0.51 0.18 7.77
Names
—
Lists

Codes

FormatValue
HEX#b22452
RGBrgb(178 36 82)
HSLhsl(340.56 66.36% 41.96%)
OKLCHoklch(0.51 0.18 7.77)
CMYKcmyk(0% 79.78% 53.93% 30.2%)
Android#ffb22452

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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