#7E7180 color

#7E7180 rgb(126, 113, 128)
Shades of gray

The hex color #7E7180 is a gray.

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

Its hue angle is 292°, with 6% saturation and 47% lightness. For print, the CMYK equivalent is 2% cyan, 12% magenta, 0% yellow and 50% black.

The closest named color is Sakura Night (#7B6C7C), a difference of 2 ΔE, a small difference.

White text is the more readable choice on this background (contrast 4.6:1).

#7E7180 color codes

HEX#7E7180
RGBrgb(126, 113, 128)
RGB percentrgb(49.4%, 44.3%, 50.2%)
HSLhsl(292, 6%, 47%)
HSV / HSBhsv(292, 12%, 50%)
CMYKcmyk(2%, 12%, 0%, 50%)
CIE LABlab(49.26, 7.98, -6.4)
CIE LCHlch(49.26, 10.23, 321.29)
CIE XYZxyz(18.405, 17.805, 22.885)
Decimal8286592
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7E7180, 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 #7E7180RatioAAAAAAA large
Sample text4.56:1PassFailPass
Sample text4.6:1PassFailPass
#7E7180 as text onRatioAAAAAAA large
Sample text4.6:1PassFailPass
Sample text4.56: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 #7E7180 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Space Gray.

Questions

What color is #7E7180?
#7E7180 is a gray, closest to the named color Sakura Night. It belongs to the gray family of colors.
What is the RGB value of #7E7180?
The RGB value is 126, 113, 128: 126 red, 113 green and 128 blue on a 0 to 255 scale.
What is the complementary color of #7E7180?
The complementary color is #738071, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E7180?
White text. Black text has a contrast ratio of 4.56:1 and white text 4.6:1. WCAG asks for at least 4.5:1 for normal text.