Skip to content
Vectorlight.net

#bb231b

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

HEX
#bb231b
RGB
187, 35, 27
HSL
3°, 74.77%, 41.96%
OKLCH
0.51 0.19 28.86
Names
—
Lists

Codes

FormatValue
HEX#bb231b
RGBrgb(187 35 27)
HSLhsl(3 74.77% 41.96%)
OKLCHoklch(0.51 0.19 28.86)
CMYKcmyk(0% 81.28% 85.56% 26.67%)
Android#ffbb231b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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