Skip to content
Vectorlight.net

#b9288e

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

HEX
#b9288e
RGB
185, 40, 142
HSL
317.79°, 64.44%, 44.12%
OKLCH
0.54 0.2 343.11
Names
—
Lists

Codes

FormatValue
HEX#b9288e
RGBrgb(185 40 142)
HSLhsl(317.79 64.44% 44.12%)
OKLCHoklch(0.54 0.2 343.11)
CMYKcmyk(0% 78.38% 23.24% 27.45%)
Android#ffb9288e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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