Skip to content
Vectorlight.net

#520a3e

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

HEX
#520a3e
RGB
82, 10, 62
HSL
316.67°, 78.26%, 18.04%
OKLCH
0.3 0.12 342.35
Names
—
Lists

Codes

FormatValue
HEX#520a3e
RGBrgb(82 10 62)
HSLhsl(316.67 78.26% 18.04%)
OKLCHoklch(0.3 0.12 342.35)
CMYKcmyk(0% 87.8% 24.39% 67.84%)
Android#ff520a3e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #520a3e;
background-color: #520a3e;
bg-[#520a3e]