Skip to content
Vectorlight.net

#a8012e

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

HEX
#a8012e
RGB
168, 1, 46
HSL
343.83°, 98.82%, 33.14%
OKLCH
0.46 0.19 18.3
Names
—
Lists

Codes

FormatValue
HEX#a8012e
RGBrgb(168 1 46)
HSLhsl(343.83 98.82% 33.14%)
OKLCHoklch(0.46 0.19 18.3)
CMYKcmyk(0% 99.4% 72.62% 34.12%)
Android#ffa8012e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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