Skip to content
Vectorlight.net

#a1267d

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

HEX
#a1267d
RGB
161, 38, 125
HSL
317.56°, 61.81%, 39.02%
OKLCH
0.49 0.18 342.52
Names
—
Lists

Codes

FormatValue
HEX#a1267d
RGBrgb(161 38 125)
HSLhsl(317.56 61.81% 39.02%)
OKLCHoklch(0.49 0.18 342.52)
CMYKcmyk(0% 76.4% 22.36% 36.86%)
Android#ffa1267d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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