Skip to content
Vectorlight.net

#b20587

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

HEX
#b20587
RGB
178, 5, 135
HSL
314.91°, 94.54%, 35.88%
OKLCH
0.51 0.22 342.87
Names
—
Lists

Codes

FormatValue
HEX#b20587
RGBrgb(178 5 135)
HSLhsl(314.91 94.54% 35.88%)
OKLCHoklch(0.51 0.22 342.87)
CMYKcmyk(0% 97.19% 24.16% 30.2%)
Android#ffb20587

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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