Skip to content
Vectorlight.net

#b5167a

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

HEX
#b5167a
RGB
181, 22, 122
HSL
322.26°, 78.33%, 39.8%
OKLCH
0.52 0.21 349.25
Names
—
Lists

Codes

FormatValue
HEX#b5167a
RGBrgb(181 22 122)
HSLhsl(322.26 78.33% 39.8%)
OKLCHoklch(0.52 0.21 349.25)
CMYKcmyk(0% 87.85% 32.6% 29.02%)
Android#ffb5167a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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