Skip to content
Vectorlight.net

#b2138a

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

HEX
#b2138a
RGB
178, 19, 138
HSL
315.09°, 80.71%, 38.63%
OKLCH
0.52 0.21 341.94
Names
—
Lists

Codes

FormatValue
HEX#b2138a
RGBrgb(178 19 138)
HSLhsl(315.09 80.71% 38.63%)
OKLCHoklch(0.52 0.21 341.94)
CMYKcmyk(0% 89.33% 22.47% 30.2%)
Android#ffb2138a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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