Skip to content
Vectorlight.net

#a50874

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

HEX
#a50874
RGB
165, 8, 116
HSL
318.73°, 90.75%, 33.92%
OKLCH
0.48 0.2 346.65
Names
—
Lists

Codes

FormatValue
HEX#a50874
RGBrgb(165 8 116)
HSLhsl(318.73 90.75% 33.92%)
OKLCHoklch(0.48 0.2 346.65)
CMYKcmyk(0% 95.15% 29.7% 35.29%)
Android#ffa50874

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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