Skip to content
Vectorlight.net

#b20c8d

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

HEX
#b20c8d
RGB
178, 12, 141
HSL
313.37°, 87.37%, 37.25%
OKLCH
0.52 0.22 340.71
Names
—
Lists

Codes

FormatValue
HEX#b20c8d
RGBrgb(178 12 141)
HSLhsl(313.37 87.37% 37.25%)
OKLCHoklch(0.52 0.22 340.71)
CMYKcmyk(0% 93.26% 20.79% 30.2%)
Android#ffb20c8d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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