Skip to content
Vectorlight.net

#b9167a

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

HEX
#b9167a
RGB
185, 22, 122
HSL
323.19°, 78.74%, 40.59%
OKLCH
0.52 0.21 350.35
Names
—
Lists

Codes

FormatValue
HEX#b9167a
RGBrgb(185 22 122)
HSLhsl(323.19 78.74% 40.59%)
OKLCHoklch(0.52 0.21 350.35)
CMYKcmyk(0% 88.11% 34.05% 27.45%)
Android#ffb9167a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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