Skip to content
Vectorlight.net

#b4022e

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

HEX
#b4022e
RGB
180, 2, 46
HSL
345.17°, 97.8%, 35.69%
OKLCH
0.49 0.19 19.74
Names
—
Lists

Codes

FormatValue
HEX#b4022e
RGBrgb(180 2 46)
HSLhsl(345.17 97.8% 35.69%)
OKLCHoklch(0.49 0.19 19.74)
CMYKcmyk(0% 98.89% 74.44% 29.41%)
Android#ffb4022e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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