#5B4152 color
The hex color #5B4152 is a dark, grayish rose.
In the RGB color model it is made of 35.7% red, 25.5% green and 32.2% blue (91, 65, 82).
Its hue angle is 321°, with 17% saturation and 31% lightness. For print, the CMYK equivalent is 0% cyan, 29% magenta, 10% yellow and 64% black.
The closest named color is Eggplant (#614051), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.04:1).
#5B4152 color codes
| HEX | #5B4152 | |
|---|---|---|
| RGB | rgb(91, 65, 82) | |
| RGB percent | rgb(35.7%, 25.5%, 32.2%) | |
| HSL | hsl(321, 17%, 31%) | |
| HSV / HSB | hsv(321, 29%, 36%) | |
| CMYK | cmyk(0%, 29%, 10%, 64%) | |
| CIE LAB | lab(30.91, 14.4, -5.75) | |
| CIE LCH | lch(30.91, 15.51, 338.22) | |
| CIE XYZ | xyz(7.728, 6.614, 8.851) | |
| Decimal | 5980498 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B4152, 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 #5B4152 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.04:1 | Pass | Pass | Pass |
| #5B4152 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.04:1 | Pass | Pass | Pass |
| Sample text | 2.32: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 #5B4152 looks to people with the most common types of color vision deficiency.
#424653Protanopia
no red cones#484a51Deuteranopia
no green cones#5e4147Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #5b4152; }
.text { color: #5b4152; }
.border { border: 2px solid #5b4152; }
.transparent { background-color: rgb(91 65 82 / 50%); }
.gradient { background: linear-gradient(to right, #5b4152, #5b4145); }
Similar colors
#614051Eggplant#64435fGrape Fizz#69444fWine Stain#654161Royal Plum#4e334eShadow Purple#644348Plum Intended#6f5166Hibernation#4f4554Black Magic
Questions
- What color is #5B4152?
- #5B4152 is a dark, grayish rose, closest to the named color Eggplant. It belongs to the purple family of colors.
- What is the RGB value of #5B4152?
- The RGB value is 91, 65, 82: 91 red, 65 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #5B4152?
- The complementary color is #415B4A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B4152?
- White text. Black text has a contrast ratio of 2.32:1 and white text 9.04:1. WCAG asks for at least 4.5:1 for normal text.