Skip to content
Vectorlight.net

#b2181f

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

HEX
#b2181f
RGB
178, 24, 31
HSL
357.27°, 76.24%, 39.61%
OKLCH
0.49 0.19 26.05
Names
—
Lists

Codes

FormatValue
HEX#b2181f
RGBrgb(178 24 31)
HSLhsl(357.27 76.24% 39.61%)
OKLCHoklch(0.49 0.19 26.05)
CMYKcmyk(0% 86.52% 82.58% 30.2%)
Android#ffb2181f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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