Skip to content
Vectorlight.net

#81022c

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

HEX
#81022c
RGB
129, 2, 44
HSL
340.16°, 96.95%, 25.69%
OKLCH
0.39 0.15 12.8
Names
—
Lists

Codes

FormatValue
HEX#81022c
RGBrgb(129 2 44)
HSLhsl(340.16 96.95% 25.69%)
OKLCHoklch(0.39 0.15 12.8)
CMYKcmyk(0% 98.45% 65.89% 49.41%)
Android#ff81022c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #81022c;
background-color: #81022c;
bg-[#81022c]