Skip to content
Vectorlight.net

#bc228e

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

HEX
#bc228e
RGB
188, 34, 142
HSL
317.92°, 69.37%, 43.53%
OKLCH
0.54 0.21 343.75
Names
—
Lists

Codes

FormatValue
HEX#bc228e
RGBrgb(188 34 142)
HSLhsl(317.92 69.37% 43.53%)
OKLCHoklch(0.54 0.21 343.75)
CMYKcmyk(0% 81.91% 24.47% 26.27%)
Android#ffbc228e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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