Skip to content
Vectorlight.net

#b22752

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

HEX
#b22752
RGB
178, 39, 82
HSL
341.44°, 64.06%, 42.55%
OKLCH
0.51 0.18 8.24
Names
—
Lists

Codes

FormatValue
HEX#b22752
RGBrgb(178 39 82)
HSLhsl(341.44 64.06% 42.55%)
OKLCHoklch(0.51 0.18 8.24)
CMYKcmyk(0% 78.09% 53.93% 30.2%)
Android#ffb22752

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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