#5A584E color
The hex color #5A584E is a gray.
In the RGB color model it is made of 35.3% red, 34.5% green and 30.6% blue (90, 88, 78).
Its hue angle is 50°, with 7% saturation and 33% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 13% yellow and 65% black.
The closest named color is Masala (#57534B), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.14:1).
#5A584E color codes
| HEX | #5A584E | |
|---|---|---|
| RGB | rgb(90, 88, 78) | |
| RGB percent | rgb(35.3%, 34.5%, 30.6%) | |
| HSL | hsl(50, 7%, 33%) | |
| HSV / HSB | hsv(50, 13%, 35%) | |
| CMYK | cmyk(0%, 2%, 13%, 65%) | |
| CIE LAB | lab(37.3, -1.18, 6.09) | |
| CIE LCH | lch(37.3, 6.2, 100.97) | |
| CIE XYZ | xyz(9.081, 9.703, 8.601) | |
| Decimal | 5920846 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A584E, 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 #5A584E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.94:1 | Fail | Fail | Fail |
| Sample text | 7.14:1 | Pass | Pass | Pass |
| #5A584E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.14:1 | Pass | Pass | Pass |
| Sample text | 2.94: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 #5A584E looks to people with the most common types of color vision deficiency.
#5a574dProtanopia
no red cones#5b584eDeuteranopia
no green cones#5c5655Tritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #5a584e; }
.text { color: #5a584e; }
.border { border: 2px solid #5a584e; }
.transparent { background-color: rgb(90 88 78 / 50%); }
.gradient { background: linear-gradient(to right, #5a584e, #565a4e); }
Similar colors
#57534bMasala#565350Heavy Charcoal#61584fMetropolis#4f4e4aSubterrain Kingdom#61574eMajor Brown#67614fIvy Topiary#625c58Caveman#5f5854Bark
Closest common color name: Ebony.
Questions
- What color is #5A584E?
- #5A584E is a gray, closest to the named color Masala. It belongs to the gray family of colors.
- What is the RGB value of #5A584E?
- The RGB value is 90, 88, 78: 90 red, 88 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #5A584E?
- The complementary color is #4E505A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A584E?
- White text. Black text has a contrast ratio of 2.94:1 and white text 7.14:1. WCAG asks for at least 4.5:1 for normal text.