#787A7E color

#787A7E rgb(120, 122, 126)
Shades of gray

The hex color #787A7E is a gray.

In the RGB color model it is made of 47.1% red, 47.8% green and 49.4% blue (120, 122, 126).

Its hue angle is 220°, with 2% saturation and 48% lightness. For print, the CMYK equivalent is 5% cyan, 3% magenta, 0% yellow and 51% black.

The closest named color is Ironside (#7E8082), a difference of 2.6 ΔE, a small difference.

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

#787A7E color codes

HEX#787A7E
RGBrgb(120, 122, 126)
RGB percentrgb(47.1%, 47.8%, 49.4%)
HSLhsl(220, 2%, 48%)
HSV / HSBhsv(220, 5%, 49%)
CMYKcmyk(5%, 3%, 0%, 51%)
CIE LABlab(51.17, 0.07, -2.44)
CIE LCHlch(51.17, 2.44, 271.7)
CIE XYZxyz(18.47, 19.418, 22.51)
Decimal7895678
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #787a7e; }
.text { color: #787a7e; }
.border { border: 2px solid #787a7e; }
.transparent { background-color: rgb(120 122 126 / 50%); }
.gradient { background: linear-gradient(to right, #787a7e, #79787e); }
Background
Text color
Border

Similar colors

Questions

What color is #787A7E?
#787A7E is a gray, closest to the named color Ironside. It belongs to the gray family of colors.
What is the RGB value of #787A7E?
The RGB value is 120, 122, 126: 120 red, 122 green and 126 blue on a 0 to 255 scale.
What is the complementary color of #787A7E?
The complementary color is #7E7C78, found by rotating the hue 180° on the color wheel.
Is black or white text better on #787A7E?
Black text. Black text has a contrast ratio of 4.88:1 and white text 4.3:1. WCAG asks for at least 4.5:1 for normal text.