Skip to content
Vectorlight.net

#a01252

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

HEX
#a01252
RGB
160, 18, 82
HSL
332.96°, 79.78%, 34.9%
OKLCH
0.46 0.18 1.54
Names
—
Lists

Codes

FormatValue
HEX#a01252
RGBrgb(160 18 82)
HSLhsl(332.96 79.78% 34.9%)
OKLCHoklch(0.46 0.18 1.54)
CMYKcmyk(0% 88.75% 48.75% 37.25%)
Android#ffa01252

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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