Skip to content
Vectorlight.net

#7a1e4e

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

HEX
#7a1e4e
RGB
122, 30, 78
HSL
328.7°, 60.53%, 29.8%
OKLCH
0.4 0.13 353.02
Names
—
Lists

Codes

FormatValue
HEX#7a1e4e
RGBrgb(122 30 78)
HSLhsl(328.7 60.53% 29.8%)
OKLCHoklch(0.4 0.13 353.02)
CMYKcmyk(0% 75.41% 36.07% 52.16%)
Android#ff7a1e4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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