Skip to content
Vectorlight.net

#bb1d8a

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

HEX
#bb1d8a
RGB
187, 29, 138
HSL
318.61°, 73.15%, 42.35%
OKLCH
0.54 0.21 344.83
Names
—
Lists

Codes

FormatValue
HEX#bb1d8a
RGBrgb(187 29 138)
HSLhsl(318.61 73.15% 42.35%)
OKLCHoklch(0.54 0.21 344.83)
CMYKcmyk(0% 84.49% 26.2% 26.67%)
Android#ffbb1d8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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