#7E7A81 color

#7E7A81 rgb(126, 122, 129)
Shades of gray

The hex color #7E7A81 is a gray.

In the RGB color model it is made of 49.4% red, 47.8% green and 50.6% blue (126, 122, 129).

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

The closest named color is Silver Surfer (#7E7D88), a difference of 2.5 ΔE, a small difference.

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

#7E7A81 color codes

HEX#7E7A81
RGBrgb(126, 122, 129)
RGB percentrgb(49.4%, 47.8%, 50.6%)
HSLhsl(274, 3%, 49%)
HSV / HSBhsv(274, 5%, 51%)
CMYKcmyk(2%, 5%, 0%, 49%)
CIE LABlab(51.77, 2.92, -3.27)
CIE LCHlch(51.77, 4.38, 311.74)
CIE XYZxyz(19.526, 19.94, 23.585)
Decimal8288897
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7e7a81; }
.text { color: #7e7a81; }
.border { border: 2px solid #7e7a81; }
.transparent { background-color: rgb(126 122 129 / 50%); }
.gradient { background: linear-gradient(to right, #7e7a81, #817a81); }
Background
Text color
Border

Similar colors

Questions

What color is #7E7A81?
#7E7A81 is a gray, closest to the named color Silver Surfer. It belongs to the gray family of colors.
What is the RGB value of #7E7A81?
The RGB value is 126, 122, 129: 126 red, 122 green and 129 blue on a 0 to 255 scale.
What is the complementary color of #7E7A81?
The complementary color is #7D817A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E7A81?
Black text. Black text has a contrast ratio of 4.99:1 and white text 4.21:1. WCAG asks for at least 4.5:1 for normal text.