Skip to content
Vectorlight.net

#a6313d

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

HEX
#a6313d
RGB
166, 49, 61
HSL
353.85°, 54.42%, 42.16%
OKLCH
0.49 0.15 19.1
Names
—
Lists

Codes

FormatValue
HEX#a6313d
RGBrgb(166 49 61)
HSLhsl(353.85 54.42% 42.16%)
OKLCHoklch(0.49 0.15 19.1)
CMYKcmyk(0% 70.48% 63.25% 34.9%)
Android#ffa6313d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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