Skip to content
Vectorlight.net

#b4197f

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

HEX
#b4197f
RGB
180, 25, 127
HSL
320.52°, 75.61%, 40.2%
OKLCH
0.52 0.21 347.04
Names
—
Lists

Codes

FormatValue
HEX#b4197f
RGBrgb(180 25 127)
HSLhsl(320.52 75.61% 40.2%)
OKLCHoklch(0.52 0.21 347.04)
CMYKcmyk(0% 86.11% 29.44% 29.41%)
Android#ffb4197f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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