#5A505E color
The hex color #5A505E is a dark, grayish magenta.
In the RGB color model it is made of 35.3% red, 31.4% green and 36.9% blue (90, 80, 94).
Its hue angle is 283°, with 8% saturation and 34% lightness. For print, the CMYK equivalent is 4% cyan, 15% magenta, 0% yellow and 63% black.
The closest named color is Fedora (#625665), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.65:1).
#5A505E color codes
| HEX | #5A505E | |
|---|---|---|
| RGB | rgb(90, 80, 94) | |
| RGB percent | rgb(35.3%, 31.4%, 36.9%) | |
| HSL | hsl(283, 8%, 34%) | |
| HSV / HSB | hsv(283, 15%, 37%) | |
| CMYK | cmyk(4%, 15%, 0%, 63%) | |
| CIE LAB | lab(35.44, 7.07, -6.64) | |
| CIE LCH | lch(35.44, 9.7, 316.77) | |
| CIE XYZ | xyz(9.105, 8.719, 11.791) | |
| Decimal | 5918814 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A505E, 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 #5A505E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.74:1 | Fail | Fail | Fail |
| Sample text | 7.65:1 | Pass | Pass | Pass |
| #5A505E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.65:1 | Pass | Pass | Pass |
| Sample text | 2.74: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 #5A505E looks to people with the most common types of color vision deficiency.
#4e535fProtanopia
no red cones#50545dDeuteranopia
no green cones#5a5155Tritanopia
no blue cones#535353Achromatopsia
no color vision
CSS examples
.background { background-color: #5a505e; }
.text { color: #5a505e; }
.border { border: 2px solid #5a505e; }
.transparent { background-color: rgb(90 80 94 / 50%); }
.gradient { background: linear-gradient(to right, #5a505e, #5e505b); }
Similar colors
#625665Fedora#565266Freefall#4f4554Black Magic#605258Pinot Noir#605d6bSmoky#525463Black Orchid#484753Gun Powder#635d63Wonder Wine
Closest common color name: Eggplant.
Questions
- What color is #5A505E?
- #5A505E is a dark, grayish magenta, closest to the named color Fedora. It belongs to the gray family of colors.
- What is the RGB value of #5A505E?
- The RGB value is 90, 80, 94: 90 red, 80 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #5A505E?
- The complementary color is #545E50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A505E?
- White text. Black text has a contrast ratio of 2.74:1 and white text 7.65:1. WCAG asks for at least 4.5:1 for normal text.