Skip to content
Vectorlight.net

#b5107e

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

HEX
#b5107e
RGB
181, 16, 126
HSL
320°, 83.76%, 38.63%
OKLCH
0.52 0.21 347.43
Names
—
Lists

Codes

FormatValue
HEX#b5107e
RGBrgb(181 16 126)
HSLhsl(320 83.76% 38.63%)
OKLCHoklch(0.52 0.21 347.43)
CMYKcmyk(0% 91.16% 30.39% 29.02%)
Android#ffb5107e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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