Skip to content
Vectorlight.net

#a50c2f

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

HEX
#a50c2f
RGB
165, 12, 47
HSL
346.27°, 86.44%, 34.71%
OKLCH
0.46 0.18 18.37
Names
—
Lists

Codes

FormatValue
HEX#a50c2f
RGBrgb(165 12 47)
HSLhsl(346.27 86.44% 34.71%)
OKLCHoklch(0.46 0.18 18.37)
CMYKcmyk(0% 92.73% 71.52% 35.29%)
Android#ffa50c2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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