Skip to content
Vectorlight.net

#b91c8a

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

HEX
#b91c8a
RGB
185, 28, 138
HSL
317.96°, 73.71%, 41.76%
OKLCH
0.53 0.21 344.22
Names
—
Lists

Codes

FormatValue
HEX#b91c8a
RGBrgb(185 28 138)
HSLhsl(317.96 73.71% 41.76%)
OKLCHoklch(0.53 0.21 344.22)
CMYKcmyk(0% 84.86% 25.41% 27.45%)
Android#ffb91c8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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