Skip to content
Vectorlight.net

#b0318b

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

HEX
#b0318b
RGB
176, 49, 139
HSL
317.48°, 56.44%, 44.12%
OKLCH
0.54 0.19 341.97
Names
—
Lists

Codes

FormatValue
HEX#b0318b
RGBrgb(176 49 139)
HSLhsl(317.48 56.44% 44.12%)
OKLCHoklch(0.54 0.19 341.97)
CMYKcmyk(0% 72.16% 21.02% 30.98%)
Android#ffb0318b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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