Skip to content
Vectorlight.net

#bb172e

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

HEX
#bb172e
RGB
187, 23, 46
HSL
351.59°, 78.1%, 41.18%
OKLCH
0.51 0.19 22
Names
—
Lists

Codes

FormatValue
HEX#bb172e
RGBrgb(187 23 46)
HSLhsl(351.59 78.1% 41.18%)
OKLCHoklch(0.51 0.19 22)
CMYKcmyk(0% 87.7% 75.4% 26.67%)
Android#ffbb172e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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