Skip to content
Vectorlight.net

#bc158d

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

HEX
#bc158d
RGB
188, 21, 141
HSL
316.89°, 79.9%, 40.98%
OKLCH
0.54 0.22 343.75
Names
—
Lists

Codes

FormatValue
HEX#bc158d
RGBrgb(188 21 141)
HSLhsl(316.89 79.9% 40.98%)
OKLCHoklch(0.54 0.22 343.75)
CMYKcmyk(0% 88.83% 25% 26.27%)
Android#ffbc158d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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