Skip to content
Vectorlight.net

#a02540

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

HEX
#a02540
RGB
160, 37, 64
HSL
346.83°, 62.44%, 38.63%
OKLCH
0.47 0.16 13.58
Names
—
Lists

Codes

FormatValue
HEX#a02540
RGBrgb(160 37 64)
HSLhsl(346.83 62.44% 38.63%)
OKLCHoklch(0.47 0.16 13.58)
CMYKcmyk(0% 76.88% 60% 37.25%)
Android#ffa02540

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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