Skip to content
Vectorlight.net

#b4159d

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

HEX
#b4159d
RGB
180, 21, 157
HSL
308.68°, 79.1%, 39.41%
OKLCH
0.53 0.23 335.69
Names
—
Lists

Codes

FormatValue
HEX#b4159d
RGBrgb(180 21 157)
HSLhsl(308.68 79.1% 39.41%)
OKLCHoklch(0.53 0.23 335.69)
CMYKcmyk(0% 88.33% 12.78% 29.41%)
Android#ffb4159d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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