Skip to content
Vectorlight.net

#a5287c

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

HEX
#a5287c
RGB
165, 40, 124
HSL
319.68°, 60.98%, 40.2%
OKLCH
0.5 0.18 344.44
Names
—
Lists

Codes

FormatValue
HEX#a5287c
RGBrgb(165 40 124)
HSLhsl(319.68 60.98% 40.2%)
OKLCHoklch(0.5 0.18 344.44)
CMYKcmyk(0% 75.76% 24.85% 35.29%)
Android#ffa5287c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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