Skip to content
Vectorlight.net

#b41197

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

HEX
#b41197
RGB
180, 17, 151
HSL
310.67°, 82.74%, 38.63%
OKLCH
0.53 0.22 337.75
Names
—
Lists

Codes

FormatValue
HEX#b41197
RGBrgb(180 17 151)
HSLhsl(310.67 82.74% 38.63%)
OKLCHoklch(0.53 0.22 337.75)
CMYKcmyk(0% 90.56% 16.11% 29.41%)
Android#ffb41197

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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