Skip to content
Vectorlight.net

#bb04a5

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

HEX
#bb04a5
RGB
187, 4, 165
HSL
307.21°, 95.81%, 37.45%
OKLCH
0.54 0.24 335.02
Names
—
Lists

Codes

FormatValue
HEX#bb04a5
RGBrgb(187 4 165)
HSLhsl(307.21 95.81% 37.45%)
OKLCHoklch(0.54 0.24 335.02)
CMYKcmyk(0% 97.86% 11.76% 26.67%)
Android#ffbb04a5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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