Skip to content
Vectorlight.net

#b20992

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

HEX
#b20992
RGB
178, 9, 146
HSL
311.36°, 90.37%, 36.67%
OKLCH
0.52 0.22 338.86
Names
—
Lists

Codes

FormatValue
HEX#b20992
RGBrgb(178 9 146)
HSLhsl(311.36 90.37% 36.67%)
OKLCHoklch(0.52 0.22 338.86)
CMYKcmyk(0% 94.94% 17.98% 30.2%)
Android#ffb20992

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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