#787D87 color
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 | |
|---|---|---|
| RGB | rgb(120, 125, 135) | |
| RGB percent | rgb(47.1%, 49%, 52.9%) | |
| HSL | hsl(220, 6%, 50%) | |
| HSV / HSB | hsv(220, 11%, 53%) | |
| CMYK | cmyk(11%, 7%, 0%, 47%) | |
| CIE LAB | lab(52.3, 0.27, -6.06) | |
| CIE LCH | lch(52.3, 6.06, 272.54) | |
| CIE XYZ | xyz(19.452, 20.409, 25.832) | |
| Decimal | 7896455 | |
| Short hex | None (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 #787D87 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.08:1 | Pass | Fail | Pass |
| Sample text | 4.13:1 | Fail | Fail | Pass |
| #787D87 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.13:1 | Fail | Fail | Pass |
| Sample text | 5.08:1 | Pass | Fail | Pass |
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.
#7a7d88Protanopia
no red cones#797c87Deuteranopia
no green cones#757f80Tritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
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); }
Similar colors
#767d86Nocturnal#747a8aAbandoned Spaceship#7e8590Smoky Studio#7d848bSerious Cloud#7e7d88Silver Surfer#828287Lunar Outpost#7f8793Sea Lion#7e8082Ironside
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.