Skip to content
Vectorlight.net

#b04f98

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

HEX
#b04f98
RGB
176, 79, 152
HSL
314.85°, 38.04%, 50%
OKLCH
0.57 0.15 337.93
Names
—
Lists

Codes

FormatValue
HEX#b04f98
RGBrgb(176 79 152)
HSLhsl(314.85 38.04% 50%)
OKLCHoklch(0.57 0.15 337.93)
CMYKcmyk(0% 55.11% 13.64% 30.98%)
Android#ffb04f98

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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