Skip to content
Vectorlight.net

#b4167a

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

HEX
#b4167a
RGB
180, 22, 122
HSL
322.03°, 78.22%, 39.61%
OKLCH
0.52 0.2 348.97
Names
—
Lists

Codes

FormatValue
HEX#b4167a
RGBrgb(180 22 122)
HSLhsl(322.03 78.22% 39.61%)
OKLCHoklch(0.52 0.2 348.97)
CMYKcmyk(0% 87.78% 32.22% 29.41%)
Android#ffb4167a

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

Recolor an SVG with this color

CSS

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