#8E7F7E color
The hex color #8E7F7E is a gray.
In the RGB color model it is made of 55.7% red, 49.8% green and 49.4% blue (142, 127, 126).
Its hue angle is 4°, with 7% saturation and 53% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 11% yellow and 44% black.
The closest named color is Mighty Mauve (#8F7F85), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.49:1).
#8E7F7E color codes
| HEX | #8E7F7E | |
|---|---|---|
| RGB | rgb(142, 127, 126) | |
| RGB percent | rgb(55.7%, 49.8%, 49.4%) | |
| HSL | hsl(4, 7%, 53%) | |
| HSV / HSB | hsv(4, 11%, 56%) | |
| CMYK | cmyk(0%, 11%, 11%, 44%) | |
| CIE LAB | lab(54.49, 5.53, 2.63) | |
| CIE LCH | lch(54.49, 6.12, 25.41) | |
| CIE XYZ | xyz(22.51, 22.436, 22.879) | |
| Decimal | 9338750 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8E7F7E, 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 #8E7F7E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.49:1 | Pass | Fail | Pass |
| Sample text | 3.83:1 | Fail | Fail | Pass |
| #8E7F7E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.83:1 | Fail | Fail | Pass |
| Sample text | 5.49:1 | Pass | Fail | Pass |
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 #8E7F7E looks to people with the most common types of color vision deficiency.
#82817eProtanopia
no red cones#85837eDeuteranopia
no green cones#927e7fTritanopia
no blue cones#828282Achromatopsia
no color vision
CSS examples
.background { background-color: #8e7f7e; }
.text { color: #8e7f7e; }
.border { border: 2px solid #8e7f7e; }
.transparent { background-color: rgb(142 127 126 / 50%); }
.gradient { background: linear-gradient(to right, #8e7f7e, #8e877e); }
Similar colors
#8f7f85Mighty Mauve#8b7e77Hurricane#897d76Moon Rock#92898aZinc#987e7eOpium#8b8685Detective Coat#827b77Mule#9b8b84Ruins of Metal
Closest common color name: Gray.
Questions
- What color is #8E7F7E?
- #8E7F7E is a gray, closest to the named color Mighty Mauve. It belongs to the gray family of colors.
- What is the RGB value of #8E7F7E?
- The RGB value is 142, 127, 126: 142 red, 127 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #8E7F7E?
- The complementary color is #7E8D8E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8E7F7E?
- Black text. Black text has a contrast ratio of 5.49:1 and white text 3.83:1. WCAG asks for at least 4.5:1 for normal text.