#7E8180 color

#7E8180 rgb(126, 129, 128)
Shades of gray

The hex color #7E8180 is a gray.

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

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

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

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

#7E8180 color codes

HEX#7E8180
RGBrgb(126, 129, 128)
RGB percentrgb(49.4%, 50.6%, 50.2%)
HSLhsl(160, 1%, 50%)
HSV / HSBhsv(160, 2%, 51%)
CMYKcmyk(2%, 0%, 1%, 49%)
CIE LABlab(53.7, -1.32, 0.15)
CIE LCHlch(53.7, 1.33, 173.5)
CIE XYZxyz(20.35, 21.695, 23.533)
Decimal8290688
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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