#5A5756 color
The hex color #5A5756 is a gray.
In the RGB color model it is made of 35.3% red, 34.1% green and 33.7% blue (90, 87, 86).
Its hue angle is 15°, with 2% saturation and 35% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 4% yellow and 65% black.
The closest named color is Heavy Charcoal (#565350), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.16:1).
#5A5756 color codes
| HEX | #5A5756 | |
|---|---|---|
| RGB | rgb(90, 87, 86) | |
| RGB percent | rgb(35.3%, 34.1%, 33.7%) | |
| HSL | hsl(15, 2%, 35%) | |
| HSV / HSB | hsv(15, 4%, 35%) | |
| CMYK | cmyk(0%, 3%, 4%, 65%) | |
| CIE LAB | lab(37.23, 1, 1.01) | |
| CIE LCH | lch(37.23, 1.42, 45.23) | |
| CIE XYZ | xyz(9.304, 9.662, 10.177) | |
| Decimal | 5920598 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A5756, 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 #5A5756 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.93:1 | Fail | Fail | Fail |
| Sample text | 7.16:1 | Pass | Pass | Pass |
| #5A5756 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.16:1 | Pass | Pass | Pass |
| Sample text | 2.93: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 #5A5756 looks to people with the most common types of color vision deficiency.
#585756Protanopia
no red cones#585856Deuteranopia
no green cones#5b5757Tritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #5a5756; }
.text { color: #5a5756; }
.border { border: 2px solid #5a5756; }
.transparent { background-color: rgb(90 87 86 / 50%); }
.gradient { background: linear-gradient(to right, #5a5756, #5a5956); }
Similar colors
#565350Heavy Charcoal#555555Stone Cold#5e5755Smokescreen#5f5854Bark#625c58Caveman#5e5e5eIron#5c5d5dKnight’s Armour#525054Magnet
Closest common color name: Dim Gray.
Questions
- What color is #5A5756?
- #5A5756 is a gray, closest to the named color Heavy Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #5A5756?
- The RGB value is 90, 87, 86: 90 red, 87 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #5A5756?
- The complementary color is #56595A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A5756?
- White text. Black text has a contrast ratio of 2.93:1 and white text 7.16:1. WCAG asks for at least 4.5:1 for normal text.