#7C798C color

#7C798C rgb(124, 121, 140)
Shades of gray

The hex color #7C798C is a gray.

In the RGB color model it is made of 48.6% red, 47.5% green and 54.9% blue (124, 121, 140).

Its hue angle is 249°, with 8% saturation and 51% lightness. For print, the CMYK equivalent is 11% cyan, 14% magenta, 0% yellow and 45% black.

The closest named color is Flying Carpet (#787489), a difference of 2.1 ΔE, a small difference.

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

#7C798C color codes

HEX#7C798C
RGBrgb(124, 121, 140)
RGB percentrgb(48.6%, 47.5%, 54.9%)
HSLhsl(249, 8%, 51%)
HSV / HSBhsv(249, 14%, 55%)
CMYKcmyk(11%, 14%, 0%, 45%)
CIE LABlab(51.67, 5.13, -9.89)
CIE LCHlch(51.67, 11.14, 297.41)
CIE XYZxyz(19.882, 19.853, 27.59)
Decimal8157580
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7C798C, 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 #7C798CRatioAAAAAAA large
Sample text4.97:1PassFailPass
Sample text4.22:1FailFailPass
#7C798C as text onRatioAAAAAAA large
Sample text4.22:1FailFailPass
Sample text4.97: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 #7C798C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7c798c; }
.text { color: #7c798c; }
.border { border: 2px solid #7c798c; }
.transparent { background-color: rgb(124 121 140 / 50%); }
.gradient { background: linear-gradient(to right, #7c798c, #86798c); }
Background
Text color
Border

Similar colors

Closest common color name: Space Gray.

Questions

What color is #7C798C?
#7C798C is a gray, closest to the named color Flying Carpet. It belongs to the gray family of colors.
What is the RGB value of #7C798C?
The RGB value is 124, 121, 140: 124 red, 121 green and 140 blue on a 0 to 255 scale.
What is the complementary color of #7C798C?
The complementary color is #898C79, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7C798C?
Black text. Black text has a contrast ratio of 4.97:1 and white text 4.22:1. WCAG asks for at least 4.5:1 for normal text.