#7D7F7E color

#7D7F7E rgb(125, 127, 126)
Shades of gray

The hex color #7D7F7E is a gray.

In the RGB color model it is made of 49% red, 49.8% green and 49.4% blue (125, 127, 126).

Its hue angle is 150°, with 1% saturation and 49% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 1% yellow and 50% black.

The closest named color is Mt. Rushmore (#7F8181), a difference of 1 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 5.21:1).

#7D7F7E color codes

HEX#7D7F7E
RGBrgb(125, 127, 126)
RGB percentrgb(49%, 49.8%, 49.4%)
HSLhsl(150, 1%, 49%)
HSV / HSBhsv(150, 2%, 50%)
CMYKcmyk(2%, 0%, 1%, 50%)
CIE LABlab(53, -0.95, 0.28)
CIE LCHlch(53, 0.99, 163.53)
CIE XYZxyz(19.812, 21.045, 22.753)
Decimal8224638
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7D7F7E, 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 #7D7F7ERatioAAAAAAA large
Sample text5.21:1PassFailPass
Sample text4.03:1FailFailPass
#7D7F7E as text onRatioAAAAAAA large
Sample text4.03:1FailFailPass
Sample text5.21:1PassFailPass

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 #7D7F7E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7d7f7e; }
.text { color: #7d7f7e; }
.border { border: 2px solid #7d7f7e; }
.transparent { background-color: rgb(125 127 126 / 50%); }
.gradient { background: linear-gradient(to right, #7d7f7e, #7d7f7f); }
Background
Text color
Border

Similar colors

Questions

What color is #7D7F7E?
#7D7F7E is a gray, closest to the named color Mt. Rushmore. It belongs to the gray family of colors.
What is the RGB value of #7D7F7E?
The RGB value is 125, 127, 126: 125 red, 127 green and 126 blue on a 0 to 255 scale.
What is the complementary color of #7D7F7E?
The complementary color is #7F7D7E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7D7F7E?
Black text. Black text has a contrast ratio of 5.21:1 and white text 4.03:1. WCAG asks for at least 4.5:1 for normal text.