Skip to content
Vectorlight.net

#b4281f

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

HEX
#b4281f
RGB
180, 40, 31
HSL
3.62°, 70.62%, 41.37%
OKLCH
0.5 0.18 28.87
Names
—
Lists

Codes

FormatValue
HEX#b4281f
RGBrgb(180 40 31)
HSLhsl(3.62 70.62% 41.37%)
OKLCHoklch(0.5 0.18 28.87)
CMYKcmyk(0% 77.78% 82.78% 29.41%)
Android#ffb4281f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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