#7F8080 color
The hex color #7F8080 is a gray.
In the RGB color model it is made of 49.8% red, 50.2% green and 50.2% blue (127, 128, 128).
Its hue angle is 180°, with 0% saturation and 50% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 0% yellow and 50% black.
The closest named color is Gray (#808080), a difference of 0.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.3:1).
#7F8080 color codes
| HEX | #7F8080 | |
|---|---|---|
| RGB | rgb(127, 128, 128) | |
| RGB percent | rgb(49.8%, 50.2%, 50.2%) | |
| HSL | hsl(180, 0%, 50%) | |
| HSV / HSB | hsv(180, 1%, 50%) | |
| CMYK | cmyk(1%, 0%, 0%, 50%) | |
| CIE LAB | lab(53.5, -0.37, -0.13) | |
| CIE LCH | lch(53.5, 0.4, 199.37) | |
| CIE XYZ | xyz(20.367, 21.509, 23.497) | |
| Decimal | 8355968 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F8080, 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 #7F8080 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.3:1 | Pass | Fail | Pass |
| Sample text | 3.96:1 | Fail | Fail | Pass |
| #7F8080 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.96:1 | Fail | Fail | Pass |
| Sample text | 5.3: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 #7F8080 looks to people with the most common types of color vision deficiency.
#808080Protanopia
no red cones#808080Deuteranopia
no green cones#7f8080Tritanopia
no blue cones#808080Achromatopsia
no color vision
CSS examples
.background { background-color: #7f8080; }
.text { color: #7f8080; }
.border { border: 2px solid #7f8080; }
.transparent { background-color: rgb(127 128 128 / 50%); }
.gradient { background: linear-gradient(to right, #7f8080, #7f8080); }
Similar colors
#808080Gray#7f8181Mt. Rushmore#7e8082Ironside#838585Gryphon#848482Battleship Gray#848482Old Silver#858585Black Mana#7c8181Whale
Questions
- What color is #7F8080?
- #7F8080 is a gray, closest to the named color Gray. It belongs to the gray family of colors.
- What is the RGB value of #7F8080?
- The RGB value is 127, 128, 128: 127 red, 128 green and 128 blue on a 0 to 255 scale.
- What is the complementary color of #7F8080?
- The complementary color is #807F7F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F8080?
- Black text. Black text has a contrast ratio of 5.3:1 and white text 3.96:1. WCAG asks for at least 4.5:1 for normal text.