Skip to content
Vectorlight.net

#b4166a

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

HEX
#b4166a
RGB
180, 22, 106
HSL
328.1°, 78.22%, 39.61%
OKLCH
0.51 0.2 355.8
Names
—
Lists

Codes

FormatValue
HEX#b4166a
RGBrgb(180 22 106)
HSLhsl(328.1 78.22% 39.61%)
OKLCHoklch(0.51 0.2 355.8)
CMYKcmyk(0% 87.78% 41.11% 29.41%)
Android#ffb4166a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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