#7E887F color

#7E887F rgb(126, 136, 127)
Shades of gray

The hex color #7E887F is a gray.

In the RGB color model it is made of 49.4% red, 53.3% green and 49.8% blue (126, 136, 127).

Its hue angle is 126°, with 4% saturation and 51% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 7% yellow and 47% black.

The closest named color is Mummy’s Tomb (#828E84), a difference of 2.2 ΔE, a small difference.

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

#7E887F color codes

HEX#7E887F
RGBrgb(126, 136, 127)
RGB percentrgb(49.4%, 53.3%, 49.8%)
HSLhsl(126, 4%, 51%)
HSV / HSBhsv(126, 7%, 53%)
CMYKcmyk(7%, 0%, 7%, 47%)
CIE LABlab(55.66, -5.47, 3.57)
CIE LCHlch(55.66, 6.54, 146.85)
CIE XYZxyz(21.238, 23.576, 23.506)
Decimal8292479
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #7E887F?
#7E887F is a gray, closest to the named color Mummy’s Tomb. It belongs to the gray family of colors.
What is the RGB value of #7E887F?
The RGB value is 126, 136, 127: 126 red, 136 green and 127 blue on a 0 to 255 scale.
What is the complementary color of #7E887F?
The complementary color is #887E87, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E887F?
Black text. Black text has a contrast ratio of 5.72:1 and white text 3.67:1. WCAG asks for at least 4.5:1 for normal text.