#7A7F80 color
The hex color #7A7F80 is a gray.
In the RGB color model it is made of 47.8% red, 49.8% green and 50.2% blue (122, 127, 128).
Its hue angle is 190°, with 2% saturation and 49% lightness. For print, the CMYK equivalent is 5% cyan, 1% magenta, 0% yellow and 50% black.
The closest named color is Whale (#7C8181), a difference of 0.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.17:1).
#7A7F80 color codes
| HEX | #7A7F80 | |
|---|---|---|
| RGB | rgb(122, 127, 128) | |
| RGB percent | rgb(47.8%, 49.8%, 50.2%) | |
| HSL | hsl(190, 2%, 49%) | |
| HSV / HSB | hsv(190, 5%, 50%) | |
| CMYK | cmyk(5%, 1%, 0%, 50%) | |
| CIE LAB | lab(52.81, -1.65, -1.19) | |
| CIE LCH | lch(52.81, 2.04, 215.73) | |
| CIE XYZ | xyz(19.511, 20.875, 23.419) | |
| Decimal | 8028032 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7A7F80, 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 #7A7F80 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.17:1 | Pass | Fail | Pass |
| Sample text | 4.06:1 | Fail | Fail | Pass |
| #7A7F80 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.06:1 | Fail | Fail | Pass |
| Sample text | 5.17: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 #7A7F80 looks to people with the most common types of color vision deficiency.
#7e7f80Protanopia
no red cones#7d7e80Deuteranopia
no green cones#78807fTritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #7a7f80; }
.text { color: #7a7f80; }
.border { border: 2px solid #7a7f80; }
.transparent { background-color: rgb(122 127 128 / 50%); }
.gradient { background: linear-gradient(to right, #7a7f80, #7a7c80); }
Similar colors
#7c8181Whale#7f8181Mt. Rushmore#7e8082Ironside#808080Gray#838585Gryphon#848789Aluminium#848482Battleship Gray#848482Old Silver
Questions
- What color is #7A7F80?
- #7A7F80 is a gray, closest to the named color Whale. It belongs to the gray family of colors.
- What is the RGB value of #7A7F80?
- The RGB value is 122, 127, 128: 122 red, 127 green and 128 blue on a 0 to 255 scale.
- What is the complementary color of #7A7F80?
- The complementary color is #807B7A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7A7F80?
- Black text. Black text has a contrast ratio of 5.17:1 and white text 4.06:1. WCAG asks for at least 4.5:1 for normal text.