Skip to content
Vectorlight.net

#a8028d

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

HEX
#a8028d
RGB
168, 2, 141
HSL
309.76°, 97.65%, 33.33%
OKLCH
0.5 0.22 337.57
Names
—
Lists

Codes

FormatValue
HEX#a8028d
RGBrgb(168 2 141)
HSLhsl(309.76 97.65% 33.33%)
OKLCHoklch(0.5 0.22 337.57)
CMYKcmyk(0% 98.81% 16.07% 34.12%)
Android#ffa8028d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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