#5A5F61 color
The hex color #5A5F61 is a gray.
In the RGB color model it is made of 35.3% red, 37.3% green and 38% blue (90, 95, 97).
Its hue angle is 197°, with 4% saturation and 37% lightness. For print, the CMYK equivalent is 7% cyan, 2% magenta, 0% yellow and 62% black.
The closest named color is Blindfolded (#5A5E61), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.47:1).
#5A5F61 color codes
| HEX | #5A5F61 | |
|---|---|---|
| RGB | rgb(90, 95, 97) | |
| RGB percent | rgb(35.3%, 37.3%, 38%) | |
| HSL | hsl(197, 4%, 37%) | |
| HSV / HSB | hsv(197, 7%, 38%) | |
| CMYK | cmyk(7%, 2%, 0%, 62%) | |
| CIE LAB | lab(39.95, -1.51, -1.82) | |
| CIE LCH | lch(39.95, 2.36, 230.24) | |
| CIE XYZ | xyz(10.466, 11.221, 12.921) | |
| Decimal | 5922657 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A5F61, 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 #5A5F61 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.24:1 | Fail | Fail | Pass |
| Sample text | 6.47:1 | Pass | Fail | Pass |
| #5A5F61 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.47:1 | Pass | Fail | Pass |
| Sample text | 3.24:1 | Fail | Fail | Pass |
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 #5A5F61 looks to people with the most common types of color vision deficiency.
#5e5f61Protanopia
no red cones#5d5e61Deuteranopia
no green cones#586060Tritanopia
no blue cones#5e5e5eAchromatopsia
no color vision
CSS examples
.background { background-color: #5a5f61; }
.text { color: #5a5f61; }
.border { border: 2px solid #5a5f61; }
.transparent { background-color: rgb(90 95 97 / 50%); }
.gradient { background: linear-gradient(to right, #5a5f61, #5a5c61); }
Similar colors
#5a5e61Blindfolded#5c5d5dKnight’s Armour#566062Yacht Club#616669Gray Web#5e5e5eIron#535e64Lava Rock#555b59Crucible#59656dStreets of London
Closest common color name: Dim Gray.
Questions
- What color is #5A5F61?
- #5A5F61 is a gray, closest to the named color Blindfolded. It belongs to the gray family of colors.
- What is the RGB value of #5A5F61?
- The RGB value is 90, 95, 97: 90 red, 95 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #5A5F61?
- The complementary color is #615C5A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A5F61?
- White text. Black text has a contrast ratio of 3.24:1 and white text 6.47:1. WCAG asks for at least 4.5:1 for normal text.