#7E797D color

#7E797D rgb(126, 121, 125)
Shades of gray

The hex color #7E797D is a gray.

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

Its hue angle is 312°, with 2% saturation and 48% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 1% yellow and 51% black.

The closest named color is Chain Mail (#81777F), a difference of 3.3 ΔE, a small difference.

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

#7E797D color codes

HEX#7E797D
RGBrgb(126, 121, 125)
RGB percentrgb(49.4%, 47.5%, 49%)
HSLhsl(312, 2%, 48%)
HSV / HSBhsv(312, 4%, 49%)
CMYKcmyk(0%, 4%, 1%, 51%)
CIE LABlab(51.37, 2.69, -1.5)
CIE LCHlch(51.37, 3.08, 330.76)
CIE XYZxyz(19.143, 19.591, 22.171)
Decimal8288637
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7E797D, 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 #7E797DRatioAAAAAAA large
Sample text4.92:1PassFailPass
Sample text4.27:1FailFailPass
#7E797D as text onRatioAAAAAAA large
Sample text4.27:1FailFailPass
Sample text4.92: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 #7E797D looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Gray.

Questions

What color is #7E797D?
#7E797D is a gray, closest to the named color Chain Mail. It belongs to the gray family of colors.
What is the RGB value of #7E797D?
The RGB value is 126, 121, 125: 126 red, 121 green and 125 blue on a 0 to 255 scale.
What is the complementary color of #7E797D?
The complementary color is #797E7A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E797D?
Black text. Black text has a contrast ratio of 4.92:1 and white text 4.27:1. WCAG asks for at least 4.5:1 for normal text.