Skip to content
Vectorlight.net

#a5056f

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

HEX
#a5056f
RGB
165, 5, 111
HSL
320.25°, 94.12%, 33.33%
OKLCH
0.48 0.2 348.73
Names
—
Lists

Codes

FormatValue
HEX#a5056f
RGBrgb(165 5 111)
HSLhsl(320.25 94.12% 33.33%)
OKLCHoklch(0.48 0.2 348.73)
CMYKcmyk(0% 96.97% 32.73% 35.29%)
Android#ffa5056f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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