Skip to content
Vectorlight.net

#b2008e

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

HEX
#b2008e
RGB
178, 0, 142
HSL
312.13°, 100%, 34.9%
OKLCH
0.52 0.22 340.22
Names
—
Lists

Codes

FormatValue
HEX#b2008e
RGBrgb(178 0 142)
HSLhsl(312.13 100% 34.9%)
OKLCHoklch(0.52 0.22 340.22)
CMYKcmyk(0% 100% 20.22% 30.2%)
Android#ffb2008e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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