Skip to content
Vectorlight.net

#b2008a

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

HEX
#b2008a
RGB
178, 0, 138
HSL
313.48°, 100%, 34.9%
OKLCH
0.51 0.22 341.68
Names
—
Lists

Codes

FormatValue
HEX#b2008a
RGBrgb(178 0 138)
HSLhsl(313.48 100% 34.9%)
OKLCHoklch(0.51 0.22 341.68)
CMYKcmyk(0% 100% 22.47% 30.2%)
Android#ffb2008a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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