Skip to content
Vectorlight.net

#a50847

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

HEX
#a50847
RGB
165, 8, 71
HSL
335.92°, 90.75%, 33.92%
OKLCH
0.47 0.18 7.4
Names
—
Lists

Codes

FormatValue
HEX#a50847
RGBrgb(165 8 71)
HSLhsl(335.92 90.75% 33.92%)
OKLCHoklch(0.47 0.18 7.4)
CMYKcmyk(0% 95.15% 56.97% 35.29%)
Android#ffa50847

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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