Skip to content
Vectorlight.net

#b2342e

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

HEX
#b2342e
RGB
178, 52, 46
HSL
2.73°, 58.93%, 43.92%
OKLCH
0.51 0.16 27.25
Names
—
Lists

Codes

FormatValue
HEX#b2342e
RGBrgb(178 52 46)
HSLhsl(2.73 58.93% 43.92%)
OKLCHoklch(0.51 0.16 27.25)
CMYKcmyk(0% 70.79% 74.16% 30.2%)
Android#ffb2342e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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