Skip to content
Vectorlight.net

#b20a2e

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

HEX
#b20a2e
RGB
178, 10, 46
HSL
347.14°, 89.36%, 36.86%
OKLCH
0.49 0.19 20.05
Names
—
Lists

Codes

FormatValue
HEX#b20a2e
RGBrgb(178 10 46)
HSLhsl(347.14 89.36% 36.86%)
OKLCHoklch(0.49 0.19 20.05)
CMYKcmyk(0% 94.38% 74.16% 30.2%)
Android#ffb20a2e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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