Skip to content
Vectorlight.net

#a1277e

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

HEX
#a1277e
RGB
161, 39, 126
HSL
317.21°, 61%, 39.22%
OKLCH
0.5 0.18 342.11
Names
—
Lists

Codes

FormatValue
HEX#a1277e
RGBrgb(161 39 126)
HSLhsl(317.21 61% 39.22%)
OKLCHoklch(0.5 0.18 342.11)
CMYKcmyk(0% 75.78% 21.74% 36.86%)
Android#ffa1277e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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