Skip to content
Vectorlight.net

#a8337e

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

HEX
#a8337e
RGB
168, 51, 126
HSL
321.54°, 53.42%, 42.94%
OKLCH
0.52 0.17 345.33
Names
—
Lists

Codes

FormatValue
HEX#a8337e
RGBrgb(168 51 126)
HSLhsl(321.54 53.42% 42.94%)
OKLCHoklch(0.52 0.17 345.33)
CMYKcmyk(0% 69.64% 25% 34.12%)
Android#ffa8337e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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