Skip to content
Vectorlight.net

#5a124c

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

HEX
#5a124c
RGB
90, 18, 76
HSL
311.67°, 66.67%, 21.18%
OKLCH
0.33 0.12 337.15
Names
—
Lists

Codes

FormatValue
HEX#5a124c
RGBrgb(90 18 76)
HSLhsl(311.67 66.67% 21.18%)
OKLCHoklch(0.33 0.12 337.15)
CMYKcmyk(0% 80% 15.56% 64.71%)
Android#ff5a124c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5a124c;
background-color: #5a124c;
bg-[#5a124c]