Skip to content
Vectorlight.net

#a12c4e

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

HEX
#a12c4e
RGB
161, 44, 78
HSL
342.56°, 57.07%, 40.2%
OKLCH
0.48 0.15 7.78
Names
—
Lists

Codes

FormatValue
HEX#a12c4e
RGBrgb(161 44 78)
HSLhsl(342.56 57.07% 40.2%)
OKLCHoklch(0.48 0.15 7.78)
CMYKcmyk(0% 72.67% 51.55% 36.86%)
Android#ffa12c4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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