Skip to content
Vectorlight.net

#a42d52

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

HEX
#a42d52
RGB
164, 45, 82
HSL
341.34°, 56.94%, 40.98%
OKLCH
0.49 0.16 6.45
Names
—
Lists

Codes

FormatValue
HEX#a42d52
RGBrgb(164 45 82)
HSLhsl(341.34 56.94% 40.98%)
OKLCHoklch(0.49 0.16 6.45)
CMYKcmyk(0% 72.56% 50% 35.69%)
Android#ffa42d52

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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