Skip to content
Vectorlight.net

#50172f

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

HEX
#50172f
RGB
80, 23, 47
HSL
334.74°, 55.34%, 20.2%
OKLCH
0.3 0.09 357.77
Names
—
Lists

Codes

FormatValue
HEX#50172f
RGBrgb(80 23 47)
HSLhsl(334.74 55.34% 20.2%)
OKLCHoklch(0.3 0.09 357.77)
CMYKcmyk(0% 71.25% 41.25% 68.63%)
Android#ff50172f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #50172f;
background-color: #50172f;
bg-[#50172f]