Skip to content
Vectorlight.net

#b94ea2

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

HEX
#b94ea2
RGB
185, 78, 162
HSL
312.9°, 43.32%, 51.57%
OKLCH
0.59 0.17 336.67
Names
—
Lists

Codes

FormatValue
HEX#b94ea2
RGBrgb(185 78 162)
HSLhsl(312.9 43.32% 51.57%)
OKLCHoklch(0.59 0.17 336.67)
CMYKcmyk(0% 57.84% 12.43% 27.45%)
Android#ffb94ea2

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.49:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.67:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#b94ea2"
Gradient stop
<stop stop-color="#b94ea2"/>
CSS variable + fill
:root { --c: #b94ea2; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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