Skip to content
Vectorlight.net

#b8317e

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

HEX
#b8317e
RGB
184, 49, 126
HSL
325.78°, 57.94%, 45.69%
OKLCH
0.54 0.19 350.14
Names
—
Lists

Codes

FormatValue
HEX#b8317e
RGBrgb(184 49 126)
HSLhsl(325.78 57.94% 45.69%)
OKLCHoklch(0.54 0.19 350.14)
CMYKcmyk(0% 73.37% 31.52% 27.84%)
Android#ffb8317e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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