#7E6C7A color
The hex color #7E6C7A is a gray.
In the RGB color model it is made of 49.4% red, 42.4% green and 47.8% blue (126, 108, 122).
Its hue angle is 313°, with 8% saturation and 46% lightness. For print, the CMYK equivalent is 0% cyan, 14% magenta, 3% yellow and 51% black.
The closest named color is Moonscape (#806B77), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.87:1).
#7E6C7A color codes
| HEX | #7E6C7A | |
|---|---|---|
| RGB | rgb(126, 108, 122) | |
| RGB percent | rgb(49.4%, 42.4%, 47.8%) | |
| HSL | hsl(313, 8%, 46%) | |
| HSV / HSB | hsv(313, 14%, 49%) | |
| CMYK | cmyk(0%, 14%, 3%, 51%) | |
| CIE LAB | lab(47.71, 9.73, -5.13) | |
| CIE LCH | lch(47.71, 11, 332.19) | |
| CIE XYZ | xyz(17.479, 16.566, 20.685) | |
| Decimal | 8285306 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E6C7A, 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 #7E6C7A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.31:1 | Fail | Fail | Pass |
| Sample text | 4.87:1 | Pass | Fail | Pass |
| #7E6C7A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.87:1 | Pass | Fail | Pass |
| Sample text | 4.31: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 #7E6C7A looks to people with the most common types of color vision deficiency.
#6c707bProtanopia
no red cones#707279Deuteranopia
no green cones#806d71Tritanopia
no blue cones#717171Achromatopsia
no color vision
CSS examples
.background { background-color: #7e6c7a; }
.text { color: #7e6c7a; }
.border { border: 2px solid #7e6c7a; }
.transparent { background-color: rgb(126 108 122 / 50%); }
.gradient { background: linear-gradient(to right, #7e6c7a, #7e6c71); }
Similar colors
#806b77Moonscape#7b6c7cSakura Night#766d7cMamba#816575Opera#716675Rum#74626dChimaera#7b737bCement Feet#81777fChain Mail
Closest common color name: Space Gray.
Questions
- What color is #7E6C7A?
- #7E6C7A is a gray, closest to the named color Moonscape. It belongs to the gray family of colors.
- What is the RGB value of #7E6C7A?
- The RGB value is 126, 108, 122: 126 red, 108 green and 122 blue on a 0 to 255 scale.
- What is the complementary color of #7E6C7A?
- The complementary color is #6C7E70, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E6C7A?
- White text. Black text has a contrast ratio of 4.31:1 and white text 4.87:1. WCAG asks for at least 4.5:1 for normal text.