#7E817E color

#7E817E rgb(126, 129, 126)
Shades of gray

The hex color #7E817E is a gray.

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

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

The closest named color is Happy Hippo (#818581), a difference of 1.6 ΔE, which is barely visible.

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

#7E817E color codes

HEX#7E817E
RGBrgb(126, 129, 126)
RGB percentrgb(49.4%, 50.6%, 49.4%)
HSLhsl(120, 1%, 50%)
HSV / HSBhsv(120, 2%, 51%)
CMYKcmyk(2%, 0%, 2%, 49%)
CIE LABlab(53.65, -1.72, 1.23)
CIE LCHlch(53.65, 2.11, 144.32)
CIE XYZxyz(20.22, 21.642, 22.847)
Decimal8290686
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7E817E, 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 #7E817ERatioAAAAAAA large
Sample text5.33:1PassFailPass
Sample text3.94:1FailFailPass
#7E817E as text onRatioAAAAAAA large
Sample text3.94:1FailFailPass
Sample text5.33: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 #7E817E looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

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