#7C7F8C color
The hex color #7C7F8C is a gray.
In the RGB color model it is made of 48.6% red, 49.8% green and 54.9% blue (124, 127, 140).
Its hue angle is 229°, with 7% saturation and 52% lightness. For print, the CMYK equivalent is 11% cyan, 9% magenta, 0% yellow and 45% black.
The closest named color is Silver Surfer (#7E7D88), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.27:1).
#7C7F8C color codes
| HEX | #7C7F8C | |
|---|---|---|
| RGB | rgb(124, 127, 140) | |
| RGB percent | rgb(48.6%, 49.8%, 54.9%) | |
| HSL | hsl(229, 7%, 52%) | |
| HSV / HSB | hsv(229, 11%, 55%) | |
| CMYK | cmyk(11%, 9%, 0%, 45%) | |
| CIE LAB | lab(53.34, 1.63, -7.39) | |
| CIE LCH | lch(53.34, 7.57, 282.47) | |
| CIE XYZ | xyz(20.634, 21.357, 27.841) | |
| Decimal | 8159116 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7C7F8C, 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 #7C7F8C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.27:1 | Pass | Fail | Pass |
| Sample text | 3.98:1 | Fail | Fail | Pass |
| #7C7F8C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.98:1 | Fail | Fail | Pass |
| Sample text | 5.27: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 #7C7F8C looks to people with the most common types of color vision deficiency.
#7c808dProtanopia
no red cones#7b7f8cDeuteranopia
no green cones#798183Tritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #7c7f8c; }
.text { color: #7c7f8c; }
.border { border: 2px solid #7c7f8c; }
.transparent { background-color: rgb(124 127 140 / 50%); }
.gradient { background: linear-gradient(to right, #7c7f8c, #817c8c); }
Similar colors
#7e7d88Silver Surfer#747a8aAbandoned Spaceship#84838eIn the Twilight#7e8590Smoky Studio#848393Mecha Metal#787e93Your Shadow#767d86Nocturnal#838996Roman Silver
Closest common color name: Slate Gray.
Questions
- What color is #7C7F8C?
- #7C7F8C is a gray, closest to the named color Silver Surfer. It belongs to the gray family of colors.
- What is the RGB value of #7C7F8C?
- The RGB value is 124, 127, 140: 124 red, 127 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #7C7F8C?
- The complementary color is #8C897C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7C7F8C?
- Black text. Black text has a contrast ratio of 5.27:1 and white text 3.98:1. WCAG asks for at least 4.5:1 for normal text.