#786F7E color
The hex color #786F7E is a gray.
In the RGB color model it is made of 47.1% red, 43.5% green and 49.4% blue (120, 111, 126).
Its hue angle is 276°, with 6% saturation and 46% lightness. For print, the CMYK equivalent is 5% cyan, 12% magenta, 0% yellow and 51% black.
The closest named color is Mamba (#766D7C), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.8:1).
#786F7E color codes
| HEX | #786F7E | |
|---|---|---|
| RGB | rgb(120, 111, 126) | |
| RGB percent | rgb(47.1%, 43.5%, 49.4%) | |
| HSL | hsl(276, 6%, 46%) | |
| HSV / HSB | hsv(276, 12%, 49%) | |
| CMYK | cmyk(5%, 12%, 0%, 51%) | |
| CIE LAB | lab(48.09, 6.52, -7) | |
| CIE LCH | lch(48.09, 9.57, 312.96) | |
| CIE XYZ | xyz(17.195, 16.868, 22.085) | |
| Decimal | 7892862 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786F7E, 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 #786F7E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.37:1 | Fail | Fail | Pass |
| Sample text | 4.8:1 | Pass | Fail | Pass |
| #786F7E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.8:1 | Pass | Fail | Pass |
| Sample text | 4.37:1 | Fail | 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 #786F7E looks to people with the most common types of color vision deficiency.
#6d727fProtanopia
no red cones#6f727dDeuteranopia
no green cones#787174Tritanopia
no blue cones#727272Achromatopsia
no color vision
CSS examples
.background { background-color: #786f7e; }
.text { color: #786f7e; }
.border { border: 2px solid #786f7e; }
.transparent { background-color: rgb(120 111 126 / 50%); }
.gradient { background: linear-gradient(to right, #786f7e, #7e6f7d); }
Similar colors
#766d7cMamba#7b6c7cSakura Night#716675Rum#7b737bCement Feet#787489Flying Carpet#81777fChain Mail#806b77Moonscape#74626dChimaera
Closest common color name: Space Gray.
Questions
- What color is #786F7E?
- #786F7E is a gray, closest to the named color Mamba. It belongs to the gray family of colors.
- What is the RGB value of #786F7E?
- The RGB value is 120, 111, 126: 120 red, 111 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #786F7E?
- The complementary color is #757E6F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786F7E?
- White text. Black text has a contrast ratio of 4.37:1 and white text 4.8:1. WCAG asks for at least 4.5:1 for normal text.