Skip to content
Vectorlight.net

#b3138f

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

HEX
#b3138f
RGB
179, 19, 143
HSL
313.5°, 80.81%, 38.82%
OKLCH
0.52 0.22 340.36
Names
—
Lists

Codes

FormatValue
HEX#b3138f
RGBrgb(179 19 143)
HSLhsl(313.5 80.81% 38.82%)
OKLCHoklch(0.52 0.22 340.36)
CMYKcmyk(0% 89.39% 20.11% 29.8%)
Android#ffb3138f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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