#7E1A2B color
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 | |
|---|---|---|
| RGB | rgb(126, 26, 43) | |
| RGB percent | rgb(49.4%, 10.2%, 16.9%) | |
| HSL | hsl(350, 66%, 30%) | |
| HSV / HSB | hsv(350, 79%, 49%) | |
| CMYK | cmyk(0%, 79%, 66%, 51%) | |
| CIE LAB | lab(27.71, 42.91, 16.17) | |
| CIE LCH | lch(27.71, 45.85, 20.65) | |
| CIE XYZ | xyz(9.411, 5.35, 2.822) | |
| Decimal | 8264235 | |
| Short hex | None (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 #7E1A2B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.07:1 | Fail | Fail | Fail |
| Sample text | 10.15:1 | Pass | Pass | Pass |
| #7E1A2B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.15:1 | Pass | Pass | Pass |
| Sample text | 2.07:1 | Fail | Fail | Fail |
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.
#37342bProtanopia
no red cones#504928Deuteranopia
no green cones#8b0021Tritanopia
no blue cones#414141Achromatopsia
no color vision
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); }
Similar colors
#771122Heavy Heart#800020Burgundy#770022Evil Forces#772233Whisky Cola#7c2d37Paprika#772c30Wine and Unwind#7b002cBordeaux#862a2ePolished Apple
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.