Skip to content
Vectorlight.net

#b20286

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

HEX
#b20286
RGB
178, 2, 134
HSL
315°, 97.78%, 35.29%
OKLCH
0.51 0.22 343.2
Names
—
Lists

Codes

FormatValue
HEX#b20286
RGBrgb(178 2 134)
HSLhsl(315 97.78% 35.29%)
OKLCHoklch(0.51 0.22 343.2)
CMYKcmyk(0% 98.88% 24.72% 30.2%)
Android#ffb20286

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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