#8B7F7F color
The hex color #8B7F7F is a gray.
In the RGB color model it is made of 54.5% red, 49.8% green and 49.8% blue (139, 127, 127).
Its hue angle is 0°, with 5% saturation and 52% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 9% yellow and 45% black.
The closest named color is Zinc (#92898A), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.44:1).
#8B7F7F color codes
| HEX | #8B7F7F | |
|---|---|---|
| RGB | rgb(139, 127, 127) | |
| RGB percent | rgb(54.5%, 49.8%, 49.8%) | |
| HSL | hsl(0, 5%, 52%) | |
| HSV / HSB | hsv(0, 9%, 55%) | |
| CMYK | cmyk(0%, 9%, 9%, 45%) | |
| CIE LAB | lab(54.24, 4.55, 1.65) | |
| CIE LCH | lch(54.24, 4.84, 19.93) | |
| CIE XYZ | xyz(22.067, 22.2, 23.197) | |
| Decimal | 9142143 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8B7F7F, 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 #8B7F7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.44:1 | Pass | Fail | Pass |
| Sample text | 3.86:1 | Fail | Fail | Pass |
| #8B7F7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.86:1 | Fail | Fail | Pass |
| Sample text | 5.44: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 #8B7F7F looks to people with the most common types of color vision deficiency.
#81807fProtanopia
no red cones#84837fDeuteranopia
no green cones#8e7e7fTritanopia
no blue cones#828282Achromatopsia
no color vision
CSS examples
.background { background-color: #8b7f7f; }
.text { color: #8b7f7f; }
.border { border: 2px solid #8b7f7f; }
.transparent { background-color: rgb(139 127 127 / 50%); }
.gradient { background: linear-gradient(to right, #8b7f7f, #8b857f); }
Similar colors
#92898aZinc#8f7f85Mighty Mauve#8b7e77Hurricane#897d76Moon Rock#8b8685Detective Coat#827b77Mule#8e8987Chorus of Elephants#81777fChain Mail
Closest common color name: Gray.
Questions
- What color is #8B7F7F?
- #8B7F7F is a gray, closest to the named color Zinc. It belongs to the gray family of colors.
- What is the RGB value of #8B7F7F?
- The RGB value is 139, 127, 127: 139 red, 127 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #8B7F7F?
- The complementary color is #7F8B8B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8B7F7F?
- Black text. Black text has a contrast ratio of 5.44:1 and white text 3.86:1. WCAG asks for at least 4.5:1 for normal text.