Skip to content
Vectorlight.net

#b5126e

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

HEX
#b5126e
RGB
181, 18, 110
HSL
326.13°, 81.91%, 39.02%
OKLCH
0.51 0.2 354.12
Names
—
Lists

Codes

FormatValue
HEX#b5126e
RGBrgb(181 18 110)
HSLhsl(326.13 81.91% 39.02%)
OKLCHoklch(0.51 0.2 354.12)
CMYKcmyk(0% 90.06% 39.23% 29.02%)
Android#ffb5126e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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