Skip to content
Vectorlight.net

#a4040b

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

HEX
#a4040b
RGB
164, 4, 11
HSL
357.38°, 95.24%, 32.94%
OKLCH
0.45 0.18 27.95
Names
—
Lists

Codes

FormatValue
HEX#a4040b
RGBrgb(164 4 11)
HSLhsl(357.38 95.24% 32.94%)
OKLCHoklch(0.45 0.18 27.95)
CMYKcmyk(0% 97.56% 93.29% 35.69%)
Android#ffa4040b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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