Skip to content
Vectorlight.net

#a5040b

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

HEX
#a5040b
RGB
165, 4, 11
HSL
357.39°, 95.27%, 33.14%
OKLCH
0.46 0.18 27.97
Names
—
Lists

Codes

FormatValue
HEX#a5040b
RGBrgb(165 4 11)
HSLhsl(357.39 95.27% 33.14%)
OKLCHoklch(0.46 0.18 27.97)
CMYKcmyk(0% 97.58% 93.33% 35.29%)
Android#ffa5040b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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