#787D87 color

#787D87 rgb(120, 125, 135)
Shades of gray

The hex color #787D87 is a gray.

In the RGB color model it is made of 47.1% red, 49% green and 52.9% blue (120, 125, 135).

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

The closest named color is Nocturnal (#767D86), a difference of 1.3 ΔE, which is barely visible.

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

#787D87 color codes

HEX#787D87
RGBrgb(120, 125, 135)
RGB percentrgb(47.1%, 49%, 52.9%)
HSLhsl(220, 6%, 50%)
HSV / HSBhsv(220, 11%, 53%)
CMYKcmyk(11%, 7%, 0%, 47%)
CIE LABlab(52.3, 0.27, -6.06)
CIE LCHlch(52.3, 6.06, 272.54)
CIE XYZxyz(19.452, 20.409, 25.832)
Decimal7896455
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #787d87; }
.text { color: #787d87; }
.border { border: 2px solid #787d87; }
.transparent { background-color: rgb(120 125 135 / 50%); }
.gradient { background: linear-gradient(to right, #787d87, #7b7887); }
Background
Text color
Border

Similar colors

Closest common color name: Slate Gray.

Questions

What color is #787D87?
#787D87 is a gray, closest to the named color Nocturnal. It belongs to the gray family of colors.
What is the RGB value of #787D87?
The RGB value is 120, 125, 135: 120 red, 125 green and 135 blue on a 0 to 255 scale.
What is the complementary color of #787D87?
The complementary color is #878278, found by rotating the hue 180° on the color wheel.
Is black or white text better on #787D87?
Black text. Black text has a contrast ratio of 5.08:1 and white text 4.13:1. WCAG asks for at least 4.5:1 for normal text.