#7C7F8F color
The hex color #7C7F8F is a gray.
In the RGB color model it is made of 48.6% red, 49.8% green and 56.1% blue (124, 127, 143).
Its hue angle is 231°, with 8% saturation and 52% lightness. For print, the CMYK equivalent is 13% cyan, 11% magenta, 0% yellow and 44% black.
The closest named color is Your Shadow (#787E93), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.29:1).
#7C7F8F color codes
| HEX | #7C7F8F | |
|---|---|---|
| RGB | rgb(124, 127, 143) | |
| RGB percent | rgb(48.6%, 49.8%, 56.1%) | |
| HSL | hsl(231, 8%, 52%) | |
| HSV / HSB | hsv(231, 13%, 56%) | |
| CMYK | cmyk(13%, 11%, 0%, 44%) | |
| CIE LAB | lab(53.44, 2.3, -9) | |
| CIE LCH | lch(53.44, 9.29, 284.35) | |
| CIE XYZ | xyz(20.858, 21.447, 29.022) | |
| Decimal | 8159119 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7C7F8F, 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 #7C7F8F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.29:1 | Pass | Fail | Pass |
| Sample text | 3.97:1 | Fail | Fail | Pass |
| #7C7F8F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.97:1 | Fail | Fail | Pass |
| Sample text | 5.29: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 #7C7F8F looks to people with the most common types of color vision deficiency.
#7b8090Protanopia
no red cones#7a7f8fDeuteranopia
no green cones#788284Tritanopia
no blue cones#808080Achromatopsia
no color vision
CSS examples
.background { background-color: #7c7f8f; }
.text { color: #7c7f8f; }
.border { border: 2px solid #7c7f8f; }
.transparent { background-color: rgb(124 127 143 / 50%); }
.gradient { background: linear-gradient(to right, #7c7f8f, #837c8f); }
Similar colors
#787e93Your Shadow#747a8aAbandoned Spaceship#848393Mecha Metal#7e7d88Silver Surfer#84838eIn the Twilight#79839bTempest#888899Dusty Chimney#7e8590Smoky Studio
Closest common color name: Slate Gray.
Questions
- What color is #7C7F8F?
- #7C7F8F is a gray, closest to the named color Your Shadow. It belongs to the gray family of colors.
- What is the RGB value of #7C7F8F?
- The RGB value is 124, 127, 143: 124 red, 127 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #7C7F8F?
- The complementary color is #8F8C7C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7C7F8F?
- Black text. Black text has a contrast ratio of 5.29:1 and white text 3.97:1. WCAG asks for at least 4.5:1 for normal text.