#505A50 color
The hex color #505A50 is a gray.
In the RGB color model it is made of 31.4% red, 35.3% green and 31.4% blue (80, 90, 80).
Its hue angle is 120°, with 6% saturation and 33% lightness. For print, the CMYK equivalent is 11% cyan, 0% magenta, 11% yellow and 65% black.
The closest named color is Ebony (#555D50), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.19:1).
#505A50 color codes
| HEX | #505A50 | |
|---|---|---|
| RGB | rgb(80, 90, 80) | |
| RGB percent | rgb(31.4%, 35.3%, 31.4%) | |
| HSL | hsl(120, 6%, 33%) | |
| HSV / HSB | hsv(120, 11%, 35%) | |
| CMYK | cmyk(11%, 0%, 11%, 65%) | |
| CIE LAB | lab(37.11, -6.1, 4.46) | |
| CIE LCH | lch(37.11, 7.55, 143.84) | |
| CIE XYZ | xyz(8.412, 9.597, 8.997) | |
| Decimal | 5266000 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505A50, 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 #505A50 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.92:1 | Fail | Fail | Fail |
| Sample text | 7.19:1 | Pass | Pass | Pass |
| #505A50 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.19:1 | Pass | Pass | Pass |
| Sample text | 2.92:1 | Fail | Fail | Fail |
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 #505A50 looks to people with the most common types of color vision deficiency.
#5a584fProtanopia
no red cones#595750Deuteranopia
no green cones#4f5957Tritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #505a50; }
.text { color: #505a50; }
.border { border: 2px solid #505a50; }
.transparent { background-color: rgb(80 90 80 / 50%); }
.gradient { background: linear-gradient(to right, #505a50, #505a55); }
Similar colors
#555d50Ebony#4e5a4aVerdant Hush#5e6354Black Forest#555b59Crucible#444b43Ancient Pine#455454All Nighter#495252Dark as Night#5f6957Italian Basil
Questions
- What color is #505A50?
- #505A50 is a gray, closest to the named color Ebony. It belongs to the gray family of colors.
- What is the RGB value of #505A50?
- The RGB value is 80, 90, 80: 80 red, 90 green and 80 blue on a 0 to 255 scale.
- What is the complementary color of #505A50?
- The complementary color is #5A505A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505A50?
- White text. Black text has a contrast ratio of 2.92:1 and white text 7.19:1. WCAG asks for at least 4.5:1 for normal text.