#7E1A2B color

#7E1A2B rgb(126, 26, 43)
Shades of red

The hex color #7E1A2B is a dark, moderate red.

In the RGB color model it is made of 49.4% red, 10.2% green and 16.9% blue (126, 26, 43).

Its hue angle is 350°, with 66% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 79% magenta, 66% yellow and 51% black.

The closest named color is Heavy Heart (#771122), a difference of 2.4 ΔE, a small difference.

White text is the more readable choice on this background (contrast 10.15:1).

#7E1A2B color codes

HEX#7E1A2B
RGBrgb(126, 26, 43)
RGB percentrgb(49.4%, 10.2%, 16.9%)
HSLhsl(350, 66%, 30%)
HSV / HSBhsv(350, 79%, 49%)
CMYKcmyk(0%, 79%, 66%, 51%)
CIE LABlab(27.71, 42.91, 16.17)
CIE LCHlch(27.71, 45.85, 20.65)
CIE XYZxyz(9.411, 5.35, 2.822)
Decimal8264235
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7E1A2B, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #7E1A2BRatioAAAAAAA large
Sample text2.07:1FailFailFail
Sample text10.15:1PassPassPass
#7E1A2B as text onRatioAAAAAAA large
Sample text10.15:1PassPassPass
Sample text2.07:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #7E1A2B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7e1a2b; }
.text { color: #7e1a2b; }
.border { border: 2px solid #7e1a2b; }
.transparent { background-color: rgb(126 26 43 / 50%); }
.gradient { background: linear-gradient(to right, #7e1a2b, #7e3b1a); }
Background
Text color
Border

Similar colors

Questions

What color is #7E1A2B?
#7E1A2B is a dark, moderate red, closest to the named color Heavy Heart. It belongs to the red family of colors.
What is the RGB value of #7E1A2B?
The RGB value is 126, 26, 43: 126 red, 26 green and 43 blue on a 0 to 255 scale.
What is the complementary color of #7E1A2B?
The complementary color is #1A7E6D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E1A2B?
White text. Black text has a contrast ratio of 2.07:1 and white text 10.15:1. WCAG asks for at least 4.5:1 for normal text.