Skip to content
Vectorlight.net

#7b042e

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

HEX
#7b042e
RGB
123, 4, 46
HSL
338.82°, 93.7%, 24.9%
OKLCH
0.37 0.15 10.46
Names
—
Lists

Codes

FormatValue
HEX#7b042e
RGBrgb(123 4 46)
HSLhsl(338.82 93.7% 24.9%)
OKLCHoklch(0.37 0.15 10.46)
CMYKcmyk(0% 96.75% 62.6% 51.76%)
Android#ff7b042e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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