Skip to content
Vectorlight.net

#b2249e

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

HEX
#b2249e
RGB
178, 36, 158
HSL
308.45°, 66.36%, 41.96%
OKLCH
0.54 0.21 334.85
Names
—
Lists

Codes

FormatValue
HEX#b2249e
RGBrgb(178 36 158)
HSLhsl(308.45 66.36% 41.96%)
OKLCHoklch(0.54 0.21 334.85)
CMYKcmyk(0% 79.78% 11.24% 30.2%)
Android#ffb2249e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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