Skip to content
Vectorlight.net

#b2154b

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

HEX
#b2154b
RGB
178, 21, 75
HSL
339.36°, 78.89%, 39.02%
OKLCH
0.5 0.19 9.18
Names
—
Lists

Codes

FormatValue
HEX#b2154b
RGBrgb(178 21 75)
HSLhsl(339.36 78.89% 39.02%)
OKLCHoklch(0.5 0.19 9.18)
CMYKcmyk(0% 88.2% 57.87% 30.2%)
Android#ffb2154b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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