Skip to content
Vectorlight.net

#b2181e

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

HEX
#b2181e
RGB
178, 24, 30
HSL
357.66°, 76.24%, 39.61%
OKLCH
0.49 0.19 26.31
Names
—
Lists

Codes

FormatValue
HEX#b2181e
RGBrgb(178 24 30)
HSLhsl(357.66 76.24% 39.61%)
OKLCHoklch(0.49 0.19 26.31)
CMYKcmyk(0% 86.52% 83.15% 30.2%)
Android#ffb2181e

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="#b2181e"
Gradient stop
<stop stop-color="#b2181e"/>
CSS variable + fill
:root { --c: #b2181e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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