#7F818C color
The hex color #7F818C is a gray.
In the RGB color model it is made of 49.8% red, 50.6% green and 54.9% blue (127, 129, 140).
Its hue angle is 231°, with 5% saturation and 52% lightness. For print, the CMYK equivalent is 9% cyan, 8% magenta, 0% yellow and 45% black.
The closest named color is In the Twilight (#84838E), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.42:1).
#7F818C color codes
| HEX | #7F818C | |
|---|---|---|
| RGB | rgb(127, 129, 140) | |
| RGB percent | rgb(49.8%, 50.6%, 54.9%) | |
| HSL | hsl(231, 5%, 52%) | |
| HSV / HSB | hsv(231, 9%, 55%) | |
| CMYK | cmyk(9%, 8%, 0%, 45%) | |
| CIE LAB | lab(54.14, 1.55, -6.18) | |
| CIE LCH | lch(54.14, 6.37, 284.07) | |
| CIE XYZ | xyz(21.335, 22.106, 27.949) | |
| Decimal | 8356236 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F818C, 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 #7F818C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.42:1 | Pass | Fail | Pass |
| Sample text | 3.87:1 | Fail | Fail | Pass |
| #7F818C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.87:1 | Fail | Fail | Pass |
| Sample text | 5.42: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 #7F818C looks to people with the most common types of color vision deficiency.
#7e828dProtanopia
no red cones#7e818cDeuteranopia
no green cones#7c8384Tritanopia
no blue cones#818181Achromatopsia
no color vision
CSS examples
.background { background-color: #7f818c; }
.text { color: #7f818c; }
.border { border: 2px solid #7f818c; }
.transparent { background-color: rgb(127 129 140 / 50%); }
.gradient { background: linear-gradient(to right, #7f818c, #847f8c); }
Similar colors
#84838eIn the Twilight#7e7d88Silver Surfer#7e8590Smoky Studio#828287Lunar Outpost#848393Mecha Metal#838996Roman Silver#7f8793Sea Lion#767d86Nocturnal
Closest common color name: Gray.
Questions
- What color is #7F818C?
- #7F818C is a gray, closest to the named color In the Twilight. It belongs to the gray family of colors.
- What is the RGB value of #7F818C?
- The RGB value is 127, 129, 140: 127 red, 129 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #7F818C?
- The complementary color is #8C8A7F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F818C?
- Black text. Black text has a contrast ratio of 5.42:1 and white text 3.87:1. WCAG asks for at least 4.5:1 for normal text.