Skip to content
Vectorlight.net

#bc02b4

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

HEX
#bc02b4
RGB
188, 2, 180
HSL
302.58°, 97.89%, 37.25%
OKLCH
0.55 0.25 330.68
Names
—
Lists

Codes

FormatValue
HEX#bc02b4
RGBrgb(188 2 180)
HSLhsl(302.58 97.89% 37.25%)
OKLCHoklch(0.55 0.25 330.68)
CMYKcmyk(0% 98.94% 4.26% 26.27%)
Android#ffbc02b4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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