Skip to content
Vectorlight.net

#b2159d

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

HEX
#b2159d
RGB
178, 21, 157
HSL
308.03°, 78.89%, 39.02%
OKLCH
0.53 0.22 335.08
Names
—
Lists

Codes

FormatValue
HEX#b2159d
RGBrgb(178 21 157)
HSLhsl(308.03 78.89% 39.02%)
OKLCHoklch(0.53 0.22 335.08)
CMYKcmyk(0% 88.2% 11.8% 30.2%)
Android#ffb2159d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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