Skip to content
Vectorlight.net

#bc157f

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

HEX
#bc157f
RGB
188, 21, 127
HSL
321.92°, 79.9%, 40.98%
OKLCH
0.53 0.21 349.12
Names
—
Lists

Codes

FormatValue
HEX#bc157f
RGBrgb(188 21 127)
HSLhsl(321.92 79.9% 40.98%)
OKLCHoklch(0.53 0.21 349.12)
CMYKcmyk(0% 88.83% 32.45% 26.27%)
Android#ffbc157f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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