Skip to content
Vectorlight.net

#b5478e

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

HEX
#b5478e
RGB
181, 71, 142
HSL
321.27°, 43.65%, 49.41%
OKLCH
0.57 0.16 343.93
Names
—
Lists

Codes

FormatValue
HEX#b5478e
RGBrgb(181 71 142)
HSLhsl(321.27 43.65% 49.41%)
OKLCHoklch(0.57 0.16 343.93)
CMYKcmyk(0% 60.77% 21.55% 29.02%)
Android#ffb5478e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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