Skip to content
Vectorlight.net

#a1247e

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

HEX
#a1247e
RGB
161, 36, 126
HSL
316.8°, 63.45%, 38.63%
OKLCH
0.49 0.18 341.97
Names
—
Lists

Codes

FormatValue
HEX#a1247e
RGBrgb(161 36 126)
HSLhsl(316.8 63.45% 38.63%)
OKLCHoklch(0.49 0.18 341.97)
CMYKcmyk(0% 77.64% 21.74% 36.86%)
Android#ffa1247e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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