Skip to content
Vectorlight.net

#b8128e

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

HEX
#b8128e
RGB
184, 18, 142
HSL
315.18°, 82.18%, 39.61%
OKLCH
0.53 0.22 342.18
Names
—
Lists

Codes

FormatValue
HEX#b8128e
RGBrgb(184 18 142)
HSLhsl(315.18 82.18% 39.61%)
OKLCHoklch(0.53 0.22 342.18)
CMYKcmyk(0% 90.22% 22.83% 27.84%)
Android#ffb8128e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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