Skip to content
Vectorlight.net

#b9008a

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

HEX
#b9008a
RGB
185, 0, 138
HSL
315.24°, 100%, 36.27%
OKLCH
0.53 0.22 343.68
Names
—
Lists

Codes

FormatValue
HEX#b9008a
RGBrgb(185 0 138)
HSLhsl(315.24 100% 36.27%)
OKLCHoklch(0.53 0.22 343.68)
CMYKcmyk(0% 100% 25.41% 27.45%)
Android#ffb9008a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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