#7D7D7B color
The hex color #7D7D7B is a gray.
In the RGB color model it is made of 49% red, 49% green and 48.2% blue (125, 125, 123).
Its hue angle is 60°, with 1% saturation and 49% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 2% yellow and 51% black.
The closest named color is Gray (#808080), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.09:1).
#7D7D7B color codes
| HEX | #7D7D7B | |
|---|---|---|
| RGB | rgb(125, 125, 123) | |
| RGB percent | rgb(49%, 49%, 48.2%) | |
| HSL | hsl(60, 1%, 49%) | |
| HSV / HSB | hsv(60, 2%, 49%) | |
| CMYK | cmyk(0%, 0%, 2%, 51%) | |
| CIE LAB | lab(52.35, -0.4, 1.09) | |
| CIE LCH | lch(52.35, 1.16, 110.03) | |
| CIE XYZ | xyz(19.366, 20.457, 21.663) | |
| Decimal | 8224123 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7D7D7B, 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 #7D7D7B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.09:1 | Pass | Fail | Pass |
| Sample text | 4.12:1 | Fail | Fail | Pass |
| #7D7D7B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.12:1 | Fail | Fail | Pass |
| Sample text | 5.09: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 #7D7D7B looks to people with the most common types of color vision deficiency.
#7d7d7bProtanopia
no red cones#7d7d7bDeuteranopia
no green cones#7d7d7cTritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
CSS examples
.background { background-color: #7d7d7b; }
.text { color: #7d7d7b; }
.border { border: 2px solid #7d7d7b; }
.transparent { background-color: rgb(125 125 123 / 50%); }
.gradient { background: linear-gradient(to right, #7d7d7b, #7c7d7b); }
Similar colors
#808080Gray#7f8181Mt. Rushmore#7d7d77Moon Base#827f79Concord#777777Lucky Gray#7e8082Ironside#848482Battleship Gray#848482Old Silver
Questions
- What color is #7D7D7B?
- #7D7D7B is a gray, closest to the named color Gray. It belongs to the gray family of colors.
- What is the RGB value of #7D7D7B?
- The RGB value is 125, 125, 123: 125 red, 125 green and 123 blue on a 0 to 255 scale.
- What is the complementary color of #7D7D7B?
- The complementary color is #7B7B7D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7D7D7B?
- Black text. Black text has a contrast ratio of 5.09:1 and white text 4.12:1. WCAG asks for at least 4.5:1 for normal text.