Skip to content
Vectorlight.net

#a4298a

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

HEX
#a4298a
RGB
164, 41, 138
HSL
312.68°, 60%, 40.2%
OKLCH
0.51 0.19 338.01
Names
—
Lists

Codes

FormatValue
HEX#a4298a
RGBrgb(164 41 138)
HSLhsl(312.68 60% 40.2%)
OKLCHoklch(0.51 0.19 338.01)
CMYKcmyk(0% 75% 15.85% 35.69%)
Android#ffa4298a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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