#7F8F87 color
The hex color #7F8F87 is a gray.
In the RGB color model it is made of 49.8% red, 56.1% green and 52.9% blue (127, 143, 135).
Its hue angle is 150°, with 7% saturation and 53% lightness. For print, the CMYK equivalent is 11% cyan, 0% magenta, 6% yellow and 44% black.
The closest named color is Mummy’s Tomb (#828E84), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.18:1).
#7F8F87 color codes
| HEX | #7F8F87 | |
|---|---|---|
| RGB | rgb(127, 143, 135) | |
| RGB percent | rgb(49.8%, 56.1%, 52.9%) | |
| HSL | hsl(150, 7%, 53%) | |
| HSV / HSB | hsv(150, 11%, 56%) | |
| CMYK | cmyk(11%, 0%, 6%, 44%) | |
| CIE LAB | lab(57.95, -7.4, 2.3) | |
| CIE LCH | lch(57.95, 7.75, 162.74) | |
| CIE XYZ | xyz(22.947, 25.906, 26.708) | |
| Decimal | 8359815 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F8F87, 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 #7F8F87 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.18:1 | Pass | Fail | Pass |
| Sample text | 3.4:1 | Fail | Fail | Pass |
| #7F8F87 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.4:1 | Fail | Fail | Pass |
| Sample text | 6.18: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 #7F8F87 looks to people with the most common types of color vision deficiency.
#8e8d87Protanopia
no red cones#8b8a87Deuteranopia
no green cones#7c8f8dTritanopia
no blue cones#8b8b8bAchromatopsia
no color vision
CSS examples
.background { background-color: #7f8f87; }
.text { color: #7f8f87; }
.border { border: 2px solid #7f8f87; }
.transparent { background-color: rgb(127 143 135 / 50%); }
.gradient { background: linear-gradient(to right, #7f8f87, #7f8f8f); }
Similar colors
#828e84Mummy’s Tomb#74857fArmour#7d8878Majestic Evergreen#738276Smoke#849c8dMother Earth#8a9480Aloe Tip#75978fYucca#829f96Japanese Bonsai
Questions
- What color is #7F8F87?
- #7F8F87 is a gray, closest to the named color Mummy’s Tomb. It belongs to the gray family of colors.
- What is the RGB value of #7F8F87?
- The RGB value is 127, 143, 135: 127 red, 143 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #7F8F87?
- The complementary color is #8F7F87, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F8F87?
- Black text. Black text has a contrast ratio of 6.18:1 and white text 3.4:1. WCAG asks for at least 4.5:1 for normal text.