Skip to content
Vectorlight.net

#a54271

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

HEX
#a54271
RGB
165, 66, 113
HSL
331.52°, 42.86%, 45.29%
OKLCH
0.53 0.14 353.41
Names
—
Lists

Codes

FormatValue
HEX#a54271
RGBrgb(165 66 113)
HSLhsl(331.52 42.86% 45.29%)
OKLCHoklch(0.53 0.14 353.41)
CMYKcmyk(0% 60% 31.52% 35.29%)
Android#ffa54271

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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