Skip to content
Vectorlight.net

#b0187e

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

HEX
#b0187e
RGB
176, 24, 126
HSL
319.74°, 76%, 39.22%
OKLCH
0.51 0.2 346.24
Names
—
Lists

Codes

FormatValue
HEX#b0187e
RGBrgb(176 24 126)
HSLhsl(319.74 76% 39.22%)
OKLCHoklch(0.51 0.2 346.24)
CMYKcmyk(0% 86.36% 28.41% 30.98%)
Android#ffb0187e

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

Recolor an SVG with this color

CSS

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