Skip to content
Vectorlight.net

#a5251d

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

HEX
#a5251d
RGB
165, 37, 29
HSL
3.53°, 70.1%, 38.04%
OKLCH
0.47 0.17 28.73
Names
—
Lists

Codes

FormatValue
HEX#a5251d
RGBrgb(165 37 29)
HSLhsl(3.53 70.1% 38.04%)
OKLCHoklch(0.47 0.17 28.73)
CMYKcmyk(0% 77.58% 82.42% 35.29%)
Android#ffa5251d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.28: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="#a5251d"
Gradient stop
<stop stop-color="#a5251d"/>
CSS variable + fill
:root { --c: #a5251d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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