Skip to content
Vectorlight.net

#a12652

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

HEX
#a12652
RGB
161, 38, 82
HSL
338.54°, 61.81%, 39.02%
OKLCH
0.48 0.16 4.35
Names
—
Lists

Codes

FormatValue
HEX#a12652
RGBrgb(161 38 82)
HSLhsl(338.54 61.81% 39.02%)
OKLCHoklch(0.48 0.16 4.35)
CMYKcmyk(0% 76.4% 49.07% 36.86%)
Android#ffa12652

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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