Skip to content
Vectorlight.net

#b2146b

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

HEX
#b2146b
RGB
178, 20, 107
HSL
326.96°, 79.8%, 38.82%
OKLCH
0.51 0.2 354.72
Names
—
Lists

Codes

FormatValue
HEX#b2146b
RGBrgb(178 20 107)
HSLhsl(326.96 79.8% 38.82%)
OKLCHoklch(0.51 0.2 354.72)
CMYKcmyk(0% 88.76% 39.89% 30.2%)
Android#ffb2146b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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