#797180 color

#797180 rgb(121, 113, 128)
Shades of gray

The hex color #797180 is a gray.

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

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

The closest named color is Mamba (#766D7C), a difference of 1.6 ΔE, which is barely visible.

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

#797180 color codes

HEX#797180
RGBrgb(121, 113, 128)
RGB percentrgb(47.5%, 44.3%, 50.2%)
HSLhsl(272, 6%, 47%)
HSV / HSBhsv(272, 12%, 50%)
CMYKcmyk(5%, 12%, 0%, 50%)
CIE LABlab(48.8, 6.13, -7.13)
CIE LCHlch(48.8, 9.4, 310.72)
CIE XYZxyz(17.686, 17.434, 22.851)
Decimal7958912
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #797180, 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 #797180RatioAAAAAAA large
Sample text4.49:1FailFailPass
Sample text4.68:1PassFailPass
#797180 as text onRatioAAAAAAA large
Sample text4.68:1PassFailPass
Sample text4.49:1FailFailPass

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 #797180 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Space Gray.

Questions

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