#7E8280 color

#7E8280 rgb(126, 130, 128)
Shades of gray

The hex color #7E8280 is a gray.

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

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

The closest named color is Whale (#7C8181), a difference of 1.2 ΔE, which is barely visible.

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

#7E8280 color codes

HEX#7E8280
RGBrgb(126, 130, 128)
RGB percentrgb(49.4%, 51%, 50.2%)
HSLhsl(150, 2%, 50%)
HSV / HSBhsv(150, 3%, 51%)
CMYKcmyk(3%, 0%, 2%, 49%)
CIE LABlab(53.98, -1.89, 0.56)
CIE LCHlch(53.98, 1.97, 163.41)
CIE XYZxyz(20.482, 21.959, 23.577)
Decimal8290944
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #7E8280?
#7E8280 is a gray, closest to the named color Whale. It belongs to the gray family of colors.
What is the RGB value of #7E8280?
The RGB value is 126, 130, 128: 126 red, 130 green and 128 blue on a 0 to 255 scale.
What is the complementary color of #7E8280?
The complementary color is #827E80, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E8280?
Black text. Black text has a contrast ratio of 5.39:1 and white text 3.89:1. WCAG asks for at least 4.5:1 for normal text.