Skip to content
Vectorlight.net

#b52897

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

HEX
#b52897
RGB
181, 40, 151
HSL
312.77°, 63.8%, 43.33%
OKLCH
0.54 0.21 338.42
Names
—
Lists

Codes

FormatValue
HEX#b52897
RGBrgb(181 40 151)
HSLhsl(312.77 63.8% 43.33%)
OKLCHoklch(0.54 0.21 338.42)
CMYKcmyk(0% 77.9% 16.57% 29.02%)
Android#ffb52897

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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