Skip to content
Vectorlight.net

#bb1271

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

HEX
#bb1271
RGB
187, 18, 113
HSL
326.27°, 82.44%, 40.2%
OKLCH
0.52 0.21 354.42
Names
—
Lists

Codes

FormatValue
HEX#bb1271
RGBrgb(187 18 113)
HSLhsl(326.27 82.44% 40.2%)
OKLCHoklch(0.52 0.21 354.42)
CMYKcmyk(0% 90.37% 39.57% 26.67%)
Android#ffbb1271

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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