Skip to content
Vectorlight.net

#bb228a

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

HEX
#bb228a
RGB
187, 34, 138
HSL
319.22°, 69.23%, 43.33%
OKLCH
0.54 0.21 345.02
Names
—
Lists

Codes

FormatValue
HEX#bb228a
RGBrgb(187 34 138)
HSLhsl(319.22 69.23% 43.33%)
OKLCHoklch(0.54 0.21 345.02)
CMYKcmyk(0% 81.82% 26.2% 26.67%)
Android#ffbb228a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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