Skip to content
Vectorlight.net

#a42240

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

HEX
#a42240
RGB
164, 34, 64
HSL
346.15°, 65.66%, 38.82%
OKLCH
0.48 0.16 13.62
Names
—
Lists

Codes

FormatValue
HEX#a42240
RGBrgb(164 34 64)
HSLhsl(346.15 65.66% 38.82%)
OKLCHoklch(0.48 0.16 13.62)
CMYKcmyk(0% 79.27% 60.98% 35.69%)
Android#ffa42240

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

Recolor an SVG with this color

CSS

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