#7B798A color

#7B798A rgb(123, 121, 138)
Shades of gray

The hex color #7B798A is a gray.

In the RGB color model it is made of 48.2% red, 47.5% green and 54.1% blue (123, 121, 138).

Its hue angle is 247°, with 7% saturation and 51% lightness. For print, the CMYK equivalent is 11% cyan, 12% magenta, 0% yellow and 46% black.

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

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

#7B798A color codes

HEX#7B798A
RGBrgb(123, 121, 138)
RGB percentrgb(48.2%, 47.5%, 54.1%)
HSLhsl(247, 7%, 51%)
HSV / HSBhsv(247, 12%, 54%)
CMYKcmyk(11%, 12%, 0%, 46%)
CIE LABlab(51.52, 4.33, -8.95)
CIE LCHlch(51.52, 9.94, 295.81)
CIE XYZxyz(19.592, 19.721, 26.814)
Decimal8092042
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7b798a; }
.text { color: #7b798a; }
.border { border: 2px solid #7b798a; }
.transparent { background-color: rgb(123 121 138 / 50%); }
.gradient { background: linear-gradient(to right, #7b798a, #84798a); }
Background
Text color
Border

Similar colors

Closest common color name: Space Gray.

Questions

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