Skip to content
Vectorlight.net

#bb2ba1

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

HEX
#bb2ba1
RGB
187, 43, 161
HSL
310.83°, 62.61%, 45.1%
OKLCH
0.56 0.21 336.67
Names
—
Lists

Codes

FormatValue
HEX#bb2ba1
RGBrgb(187 43 161)
HSLhsl(310.83 62.61% 45.1%)
OKLCHoklch(0.56 0.21 336.67)
CMYKcmyk(0% 77.01% 13.9% 26.67%)
Android#ffbb2ba1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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