Skip to content
Vectorlight.net

#a50b8a

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

HEX
#a50b8a
RGB
165, 11, 138
HSL
310.52°, 87.5%, 34.51%
OKLCH
0.49 0.21 337.81
Names
—
Lists

Codes

FormatValue
HEX#a50b8a
RGBrgb(165 11 138)
HSLhsl(310.52 87.5% 34.51%)
OKLCHoklch(0.49 0.21 337.81)
CMYKcmyk(0% 93.33% 16.36% 35.29%)
Android#ffa50b8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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