#787C86 color
The hex color #787C86 is a gray.
In the RGB color model it is made of 47.1% red, 48.6% green and 52.5% blue (120, 124, 134).
Its hue angle is 223°, with 6% saturation and 50% lightness. For print, the CMYK equivalent is 10% cyan, 7% magenta, 0% yellow and 47% black.
The closest named color is Nocturnal (#767D86), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.03:1).
#787C86 color codes
| HEX | #787C86 | |
|---|---|---|
| RGB | rgb(120, 124, 134) | |
| RGB percent | rgb(47.1%, 48.6%, 52.5%) | |
| HSL | hsl(223, 6%, 50%) | |
| HSV / HSB | hsv(223, 10%, 53%) | |
| CMYK | cmyk(10%, 7%, 0%, 47%) | |
| CIE LAB | lab(51.98, 0.63, -5.94) | |
| CIE LCH | lch(51.98, 5.97, 276.03) | |
| CIE XYZ | xyz(19.256, 20.129, 25.421) | |
| Decimal | 7896198 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787C86, 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 #787C86 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.03:1 | Pass | Fail | Pass |
| Sample text | 4.18:1 | Fail | Fail | Pass |
| #787C86 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.18:1 | Fail | Fail | Pass |
| Sample text | 5.03: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 #787C86 looks to people with the most common types of color vision deficiency.
#797d87Protanopia
no red cones#787b86Deuteranopia
no green cones#757e7fTritanopia
no blue cones#7c7c7cAchromatopsia
no color vision
CSS examples
.background { background-color: #787c86; }
.text { color: #787c86; }
.border { border: 2px solid #787c86; }
.transparent { background-color: rgb(120 124 134 / 50%); }
.gradient { background: linear-gradient(to right, #787c86, #7b7886); }
Similar colors
#767d86Nocturnal#747a8aAbandoned Spaceship#7e7d88Silver Surfer#7e8590Smoky Studio#828287Lunar Outpost#7d848bSerious Cloud#84838eIn the Twilight#7f8793Sea Lion
Closest common color name: Space Gray.
Questions
- What color is #787C86?
- #787C86 is a gray, closest to the named color Nocturnal. It belongs to the gray family of colors.
- What is the RGB value of #787C86?
- The RGB value is 120, 124, 134: 120 red, 124 green and 134 blue on a 0 to 255 scale.
- What is the complementary color of #787C86?
- The complementary color is #868278, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787C86?
- Black text. Black text has a contrast ratio of 5.03:1 and white text 4.18:1. WCAG asks for at least 4.5:1 for normal text.