#5D5159 color
The hex color #5D5159 is a gray.
In the RGB color model it is made of 36.5% red, 31.8% green and 34.9% blue (93, 81, 89).
Its hue angle is 320°, with 7% saturation and 34% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 4% yellow and 64% black.
The closest named color is Pinot Noir (#605258), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.54:1).
#5D5159 color codes
| HEX | #5D5159 | |
|---|---|---|
| RGB | rgb(93, 81, 89) | |
| RGB percent | rgb(36.5%, 31.8%, 34.9%) | |
| HSL | hsl(320, 7%, 34%) | |
| HSV / HSB | hsv(320, 13%, 36%) | |
| CMYK | cmyk(0%, 13%, 4%, 64%) | |
| CIE LAB | lab(35.86, 6.55, -2.85) | |
| CIE LCH | lch(35.86, 7.14, 336.52) | |
| CIE XYZ | xyz(9.26, 8.933, 10.686) | |
| Decimal | 6115673 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D5159, 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 #5D5159 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.79:1 | Fail | Fail | Fail |
| Sample text | 7.54:1 | Pass | Pass | Pass |
| #5D5159 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.54:1 | Pass | Pass | Pass |
| Sample text | 2.79: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 #5D5159 looks to people with the most common types of color vision deficiency.
#515359Protanopia
no red cones#545559Deuteranopia
no green cones#5f5154Tritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #5d5159; }
.text { color: #5d5159; }
.border { border: 2px solid #5d5159; }
.transparent { background-color: rgb(93 81 89 / 50%); }
.gradient { background: linear-gradient(to right, #5d5159, #5d5153); }
Similar colors
#605258Pinot Noir#625665Fedora#635d63Wonder Wine#4f4554Black Magic#554747Chinotto#525054Magnet#524b4bMatterhorn#676168Excalibur
Closest common color name: Eggplant.
Questions
- What color is #5D5159?
- #5D5159 is a gray, closest to the named color Pinot Noir. It belongs to the gray family of colors.
- What is the RGB value of #5D5159?
- The RGB value is 93, 81, 89: 93 red, 81 green and 89 blue on a 0 to 255 scale.
- What is the complementary color of #5D5159?
- The complementary color is #515D55, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D5159?
- White text. Black text has a contrast ratio of 2.79:1 and white text 7.54:1. WCAG asks for at least 4.5:1 for normal text.