Skip to content
Vectorlight.net

#bd158f

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

HEX
#bd158f
RGB
189, 21, 143
HSL
316.43°, 80%, 41.18%
OKLCH
0.54 0.22 343.29
Names
—
Lists

Codes

FormatValue
HEX#bd158f
RGBrgb(189 21 143)
HSLhsl(316.43 80% 41.18%)
OKLCHoklch(0.54 0.22 343.29)
CMYKcmyk(0% 88.89% 24.34% 25.88%)
Android#ffbd158f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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