Skip to content
Vectorlight.net

#b91c8b

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

HEX
#b91c8b
RGB
185, 28, 139
HSL
317.58°, 73.71%, 41.76%
OKLCH
0.54 0.21 343.84
Names
—
Lists

Codes

FormatValue
HEX#b91c8b
RGBrgb(185 28 139)
HSLhsl(317.58 73.71% 41.76%)
OKLCHoklch(0.54 0.21 343.84)
CMYKcmyk(0% 84.86% 24.86% 27.45%)
Android#ffb91c8b

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.60: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="#b91c8b"
Gradient stop
<stop stop-color="#b91c8b"/>
CSS variable + fill
:root { --c: #b91c8b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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