Skip to content
Vectorlight.net

#8c021d

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

HEX
#8c021d
RGB
140, 2, 29
HSL
348.26°, 97.18%, 27.84%
OKLCH
0.41 0.16 21.73
Names
—
Lists

Codes

FormatValue
HEX#8c021d
RGBrgb(140 2 29)
HSLhsl(348.26 97.18% 27.84%)
OKLCHoklch(0.41 0.16 21.73)
CMYKcmyk(0% 98.57% 79.29% 45.1%)
Android#ff8c021d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8c021d;
background-color: #8c021d;
bg-[#8c021d]