Skip to content
Vectorlight.net

#a5255e

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

HEX
#a5255e
RGB
165, 37, 94
HSL
333.28°, 63.37%, 39.61%
OKLCH
0.49 0.17 358.87
Names
—
Lists

Codes

FormatValue
HEX#a5255e
RGBrgb(165 37 94)
HSLhsl(333.28 63.37% 39.61%)
OKLCHoklch(0.49 0.17 358.87)
CMYKcmyk(0% 77.58% 43.03% 35.29%)
Android#ffa5255e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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