Skip to content
Vectorlight.net

#a12342

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

HEX
#a12342
RGB
161, 35, 66
HSL
345.24°, 64.29%, 38.43%
OKLCH
0.47 0.16 12.29
Names
—
Lists

Codes

FormatValue
HEX#a12342
RGBrgb(161 35 66)
HSLhsl(345.24 64.29% 38.43%)
OKLCHoklch(0.47 0.16 12.29)
CMYKcmyk(0% 78.26% 59.01% 36.86%)
Android#ffa12342

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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