Skip to content
Vectorlight.net

#bb1a8a

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

HEX
#bb1a8a
RGB
187, 26, 138
HSL
318.26°, 75.59%, 41.76%
OKLCH
0.54 0.21 344.73
Names
—
Lists

Codes

FormatValue
HEX#bb1a8a
RGBrgb(187 26 138)
HSLhsl(318.26 75.59% 41.76%)
OKLCHoklch(0.54 0.21 344.73)
CMYKcmyk(0% 86.1% 26.2% 26.67%)
Android#ffbb1a8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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