Skip to content
Vectorlight.net

#a8045a

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

HEX
#a8045a
RGB
168, 4, 90
HSL
328.54°, 95.35%, 33.73%
OKLCH
0.48 0.19 359
Names
—
Lists

Codes

FormatValue
HEX#a8045a
RGBrgb(168 4 90)
HSLhsl(328.54 95.35% 33.73%)
OKLCHoklch(0.48 0.19 359)
CMYKcmyk(0% 97.62% 46.43% 34.12%)
Android#ffa8045a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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