#838080 color
The hex color #838080 is a gray.
In the RGB color model it is made of 51.4% red, 50.2% green and 50.2% blue (131, 128, 128).
Its hue angle is 0°, with 1% saturation and 51% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 2% yellow and 49% black.
The closest named color is Gray (#808080), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.36:1).
#838080 color codes
| HEX | #838080 | |
|---|---|---|
| RGB | rgb(131, 128, 128) | |
| RGB percent | rgb(51.4%, 50.2%, 50.2%) | |
| HSL | hsl(0, 1%, 51%) | |
| HSV / HSB | hsv(0, 2%, 51%) | |
| CMYK | cmyk(0%, 2%, 2%, 49%) | |
| CIE LAB | lab(53.84, 1.13, 0.4) | |
| CIE LCH | lch(53.84, 1.19, 19.54) | |
| CIE XYZ | xyz(20.975, 21.822, 23.525) | |
| Decimal | 8618112 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838080, 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 #838080 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.36:1 | Pass | Fail | Pass |
| Sample text | 3.91:1 | Fail | Fail | Pass |
| #838080 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.91:1 | Fail | Fail | Pass |
| Sample text | 5.36: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 #838080 looks to people with the most common types of color vision deficiency.
#808080Protanopia
no red cones#818180Deuteranopia
no green cones#848080Tritanopia
no blue cones#818181Achromatopsia
no color vision
CSS examples
.background { background-color: #838080; }
.text { color: #838080; }
.border { border: 2px solid #838080; }
.transparent { background-color: rgb(131 128 128 / 50%); }
.gradient { background: linear-gradient(to right, #838080, #838280); }
Similar colors
#808080Gray#858381Lingering Storm#858585Black Mana#8b8685Detective Coat#848482Battleship Gray#848482Old Silver#7e8082Ironside#7f8181Mt. Rushmore
Questions
- What color is #838080?
- #838080 is a gray, closest to the named color Gray. It belongs to the gray family of colors.
- What is the RGB value of #838080?
- The RGB value is 131, 128, 128: 131 red, 128 green and 128 blue on a 0 to 255 scale.
- What is the complementary color of #838080?
- The complementary color is #808383, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838080?
- Black text. Black text has a contrast ratio of 5.36:1 and white text 3.91:1. WCAG asks for at least 4.5:1 for normal text.