#8A838D color
The hex color #8A838D is a gray.
In the RGB color model it is made of 54.1% red, 51.4% green and 55.3% blue (138, 131, 141).
Its hue angle is 282°, with 4% saturation and 53% lightness. For print, the CMYK equivalent is 2% cyan, 7% magenta, 0% yellow and 45% black.
The closest named color is In the Twilight (#84838E), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.71:1).
#8A838D color codes
| HEX | #8A838D | |
|---|---|---|
| RGB | rgb(138, 131, 141) | |
| RGB percent | rgb(54.1%, 51.4%, 55.3%) | |
| HSL | hsl(282, 4%, 53%) | |
| HSV / HSB | hsv(282, 7%, 55%) | |
| CMYK | cmyk(2%, 7%, 0%, 45%) | |
| CIE LAB | lab(55.64, 4.59, -4.42) | |
| CIE LCH | lch(55.64, 6.37, 316.02) | |
| CIE XYZ | xyz(23.404, 23.559, 28.509) | |
| Decimal | 9077645 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A838D, 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 #8A838D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.71:1 | Pass | Fail | Pass |
| Sample text | 3.68:1 | Fail | Fail | Pass |
| #8A838D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.68:1 | Fail | Fail | Pass |
| Sample text | 5.71: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 #8A838D looks to people with the most common types of color vision deficiency.
#82858dProtanopia
no red cones#83858dDeuteranopia
no green cones#8a8486Tritanopia
no blue cones#858585Achromatopsia
no color vision
CSS examples
.background { background-color: #8a838d; }
.text { color: #8a838d; }
.border { border: 2px solid #8a838d; }
.transparent { background-color: rgb(138 131 141 / 50%); }
.gradient { background: linear-gradient(to right, #8a838d, #8d838b); }
Similar colors
#84838eIn the Twilight#848393Mecha Metal#7e7d88Silver Surfer#948593Femme Fatale#8f7f85Mighty Mauve#888899Dusty Chimney#81777fChain Mail#918c8fGull
Closest common color name: Gray.
Questions
- What color is #8A838D?
- #8A838D 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 #8A838D?
- The RGB value is 138, 131, 141: 138 red, 131 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #8A838D?
- The complementary color is #868D83, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A838D?
- Black text. Black text has a contrast ratio of 5.71:1 and white text 3.68:1. WCAG asks for at least 4.5:1 for normal text.