#5A404A color
The hex color #5A404A is a dark, grayish rose.
In the RGB color model it is made of 35.3% red, 25.1% green and 29% blue (90, 64, 74).
Its hue angle is 337°, with 17% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 29% magenta, 18% yellow and 65% black.
The closest named color is Eggplant (#614051), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.26:1).
#5A404A color codes
| HEX | #5A404A | |
|---|---|---|
| RGB | rgb(90, 64, 74) | |
| RGB percent | rgb(35.3%, 25.1%, 29%) | |
| HSL | hsl(337, 17%, 30%) | |
| HSV / HSB | hsv(337, 29%, 35%) | |
| CMYK | cmyk(0%, 29%, 18%, 65%) | |
| CIE LAB | lab(30.24, 13.08, -1.58) | |
| CIE LCH | lch(30.24, 13.17, 353.11) | |
| CIE XYZ | xyz(7.286, 6.335, 7.316) | |
| Decimal | 5914698 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A404A, 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 #5A404A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.27:1 | Fail | Fail | Fail |
| Sample text | 9.26:1 | Pass | Pass | Pass |
| #5A404A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.26:1 | Pass | Pass | Pass |
| Sample text | 2.27: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 #5A404A looks to people with the most common types of color vision deficiency.
#43454aProtanopia
no red cones#494949Deuteranopia
no green cones#5e3f43Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #5a404a; }
.text { color: #5a404a; }
.border { border: 2px solid #5a404a; }
.transparent { background-color: rgb(90 64 74 / 50%); }
.gradient { background: linear-gradient(to right, #5a404a, #5a4340); }
Similar colors
#614051Eggplant#644348Plum Intended#69444fWine Stain#4b373aVibrant Vine#654243Wild Thing#624a49Dark Chocolate#553b39Monkey Island#693f43Red Rumour
Questions
- What color is #5A404A?
- #5A404A is a dark, grayish rose, closest to the named color Eggplant. It belongs to the red family of colors.
- What is the RGB value of #5A404A?
- The RGB value is 90, 64, 74: 90 red, 64 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #5A404A?
- The complementary color is #405A50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A404A?
- White text. Black text has a contrast ratio of 2.27:1 and white text 9.26:1. WCAG asks for at least 4.5:1 for normal text.