Skip to content
Vectorlight.net

#b9028d

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

HEX
#b9028d
RGB
185, 2, 141
HSL
314.43°, 97.86%, 36.67%
OKLCH
0.53 0.23 342.62
Names
—
Lists

Codes

FormatValue
HEX#b9028d
RGBrgb(185 2 141)
HSLhsl(314.43 97.86% 36.67%)
OKLCHoklch(0.53 0.23 342.62)
CMYKcmyk(0% 98.92% 23.78% 27.45%)
Android#ffb9028d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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