#5B404C color
The hex color #5B404C is a dark, grayish rose.
In the RGB color model it is made of 35.7% red, 25.1% green and 29.8% blue (91, 64, 76).
Its hue angle is 333°, with 17% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 30% magenta, 16% yellow and 64% black.
The closest named color is Eggplant (#614051), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.2:1).
#5B404C color codes
| HEX | #5B404C | |
|---|---|---|
| RGB | rgb(91, 64, 76) | |
| RGB percent | rgb(35.7%, 25.1%, 29.8%) | |
| HSL | hsl(333, 17%, 30%) | |
| HSV / HSB | hsv(333, 30%, 36%) | |
| CMYK | cmyk(0%, 30%, 16%, 64%) | |
| CIE LAB | lab(30.43, 13.87, -2.59) | |
| CIE LCH | lch(30.43, 14.11, 349.44) | |
| CIE XYZ | xyz(7.452, 6.413, 7.681) | |
| Decimal | 5980236 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B404C, 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 #5B404C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.2:1 | Pass | Pass | Pass |
| #5B404C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.2:1 | Pass | Pass | Pass |
| Sample text | 2.28: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 #5B404C looks to people with the most common types of color vision deficiency.
#42454cProtanopia
no red cones#49494bDeuteranopia
no green cones#5f3f44Tritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #5b404c; }
.text { color: #5b404c; }
.border { border: 2px solid #5b404c; }
.transparent { background-color: rgb(91 64 76 / 50%); }
.gradient { background: linear-gradient(to right, #5b404c, #5b4240); }
Similar colors
#614051Eggplant#69444fWine Stain#644348Plum Intended#654243Wild Thing#4b373aVibrant Vine#64435fGrape Fizz#443240Voodoo#693f43Red Rumour
Questions
- What color is #5B404C?
- #5B404C 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 #5B404C?
- The RGB value is 91, 64, 76: 91 red, 64 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #5B404C?
- The complementary color is #405B4F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B404C?
- White text. Black text has a contrast ratio of 2.28:1 and white text 9.2:1. WCAG asks for at least 4.5:1 for normal text.