Skip to content
Vectorlight.net

#b0318e

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

HEX
#b0318e
RGB
176, 49, 142
HSL
316.06°, 56.44%, 44.12%
OKLCH
0.54 0.19 340.7
Names
—
Lists

Codes

FormatValue
HEX#b0318e
RGBrgb(176 49 142)
HSLhsl(316.06 56.44% 44.12%)
OKLCHoklch(0.54 0.19 340.7)
CMYKcmyk(0% 72.16% 19.32% 30.98%)
Android#ffb0318e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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