Skip to content
Vectorlight.net

#7a021d

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

HEX
#7a021d
RGB
122, 2, 29
HSL
346.5°, 96.77%, 24.31%
OKLCH
0.37 0.15 19.45
Names
—
Lists

Codes

FormatValue
HEX#7a021d
RGBrgb(122 2 29)
HSLhsl(346.5 96.77% 24.31%)
OKLCHoklch(0.37 0.15 19.45)
CMYKcmyk(0% 98.36% 76.23% 52.16%)
Android#ff7a021d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7a021d;
background-color: #7a021d;
bg-[#7a021d]