Skip to content
Vectorlight.net

#a5259d

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

HEX
#a5259d
RGB
165, 37, 157
HSL
303.75°, 63.37%, 39.61%
OKLCH
0.52 0.21 330.91
Names
—
Lists

Codes

FormatValue
HEX#a5259d
RGBrgb(165 37 157)
HSLhsl(303.75 63.37% 39.61%)
OKLCHoklch(0.52 0.21 330.91)
CMYKcmyk(0% 77.58% 4.85% 35.29%)
Android#ffa5259d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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