#5A3540 color
The hex color #5A3540 is a dark, desaturated rose.
In the RGB color model it is made of 35.3% red, 20.8% green and 25.1% blue (90, 53, 64).
Its hue angle is 342°, with 26% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 41% magenta, 29% yellow and 65% black.
The closest named color is Wine Tasting (#492A34), a difference of 4.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.41:1).
#5A3540 color codes
| HEX | #5A3540 | |
|---|---|---|
| RGB | rgb(90, 53, 64) | |
| RGB percent | rgb(35.3%, 20.8%, 25.1%) | |
| HSL | hsl(342, 26%, 28%) | |
| HSV / HSB | hsv(342, 41%, 35%) | |
| CMYK | cmyk(0%, 41%, 29%, 65%) | |
| CIE LAB | lab(26.99, 18.27, 0.22) | |
| CIE LCH | lch(26.99, 18.27, 0.68) | |
| CIE XYZ | xyz(6.415, 5.09, 5.494) | |
| Decimal | 5911872 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A3540, 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 #5A3540 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.02:1 | Fail | Fail | Fail |
| Sample text | 10.41:1 | Pass | Pass | Pass |
| #5A3540 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.41:1 | Pass | Pass | Pass |
| Sample text | 2.02: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 #5A3540 looks to people with the most common types of color vision deficiency.
#3a3c40Protanopia
no red cones#43423fDeuteranopia
no green cones#603339Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #5a3540; }
.text { color: #5a3540; }
.border { border: 2px solid #5a3540; }
.transparent { background-color: rgb(90 53 64 / 50%); }
.gradient { background: linear-gradient(to right, #5a3540, #5a3d35); }
Similar colors
#492a34Wine Tasting#614051Eggplant#69444fWine Stain#644348Plum Intended#693f43Red Rumour#4a2d2fDark Roast#654243Wild Thing#612e32Chocolate Truffle
Questions
- What color is #5A3540?
- #5A3540 is a dark, desaturated rose, closest to the named color Wine Tasting. It belongs to the red family of colors.
- What is the RGB value of #5A3540?
- The RGB value is 90, 53, 64: 90 red, 53 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #5A3540?
- The complementary color is #355A4F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A3540?
- White text. Black text has a contrast ratio of 2.02:1 and white text 10.41:1. WCAG asks for at least 4.5:1 for normal text.