Skip to content
Vectorlight.net

#b54897

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

HEX
#b54897
RGB
181, 72, 151
HSL
316.51°, 43.08%, 49.61%
OKLCH
0.57 0.17 339.79
Names
—
Lists

Codes

FormatValue
HEX#b54897
RGBrgb(181 72 151)
HSLhsl(316.51 43.08% 49.61%)
OKLCHoklch(0.57 0.17 339.79)
CMYKcmyk(0% 60.22% 16.57% 29.02%)
Android#ffb54897

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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