Skip to content
Vectorlight.net

#b12988

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

HEX
#b12988
RGB
177, 41, 136
HSL
318.09°, 62.39%, 42.75%
OKLCH
0.53 0.19 343.14
Names
—
Lists

Codes

FormatValue
HEX#b12988
RGBrgb(177 41 136)
HSLhsl(318.09 62.39% 42.75%)
OKLCHoklch(0.53 0.19 343.14)
CMYKcmyk(0% 76.84% 23.16% 30.59%)
Android#ffb12988

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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