Skip to content
Vectorlight.net

#b7166a

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

HEX
#b7166a
RGB
183, 22, 106
HSL
328.7°, 78.54%, 40.2%
OKLCH
0.52 0.2 356.57
Names
—
Lists

Codes

FormatValue
HEX#b7166a
RGBrgb(183 22 106)
HSLhsl(328.7 78.54% 40.2%)
OKLCHoklch(0.52 0.2 356.57)
CMYKcmyk(0% 87.98% 42.08% 28.24%)
Android#ffb7166a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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