#7D797C color

#7D797C rgb(125, 121, 124)
Shades of gray

The hex color #7D797C is a gray.

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

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

The closest named color is Bank Vault (#757374), a difference of 3.1 ΔE, a small difference.

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

#7D797C color codes

HEX#7D797C
RGBrgb(125, 121, 124)
RGB percentrgb(49%, 47.5%, 48.6%)
HSLhsl(315, 2%, 48%)
HSV / HSBhsv(315, 3%, 49%)
CMYKcmyk(0%, 3%, 1%, 51%)
CIE LABlab(51.26, 2.11, -1.1)
CIE LCHlch(51.26, 2.38, 332.54)
CIE XYZxyz(18.932, 19.49, 21.829)
Decimal8223100
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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