Skip to content
Vectorlight.net

#b4151b

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

HEX
#b4151b
RGB
180, 21, 27
HSL
357.74°, 79.1%, 39.41%
OKLCH
0.49 0.19 26.74
Names
—
Lists

Codes

FormatValue
HEX#b4151b
RGBrgb(180 21 27)
HSLhsl(357.74 79.1% 39.41%)
OKLCHoklch(0.49 0.19 26.74)
CMYKcmyk(0% 88.33% 85% 29.41%)
Android#ffb4151b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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