Skip to content
Vectorlight.net

#b20796

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

HEX
#b20796
RGB
178, 7, 150
HSL
309.82°, 92.43%, 36.27%
OKLCH
0.52 0.23 337.43
Names
—
Lists

Codes

FormatValue
HEX#b20796
RGBrgb(178 7 150)
HSLhsl(309.82 92.43% 36.27%)
OKLCHoklch(0.52 0.23 337.43)
CMYKcmyk(0% 96.07% 15.73% 30.2%)
Android#ffb20796

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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