Skip to content
Vectorlight.net

#b02a7d

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

HEX
#b02a7d
RGB
176, 42, 125
HSL
322.84°, 61.47%, 42.75%
OKLCH
0.52 0.19 347.63
Names
—
Lists

Codes

FormatValue
HEX#b02a7d
RGBrgb(176 42 125)
HSLhsl(322.84 61.47% 42.75%)
OKLCHoklch(0.52 0.19 347.63)
CMYKcmyk(0% 76.14% 28.98% 30.98%)
Android#ffb02a7d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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