Skip to content
Vectorlight.net

#b002ab

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

HEX
#b002ab
RGB
176, 2, 171
HSL
301.72°, 97.75%, 34.9%
OKLCH
0.53 0.24 329.89
Names
—
Lists

Codes

FormatValue
HEX#b002ab
RGBrgb(176 2 171)
HSLhsl(301.72 97.75% 34.9%)
OKLCHoklch(0.53 0.24 329.89)
CMYKcmyk(0% 98.86% 2.84% 30.98%)
Android#ffb002ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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