#5A645B color
The hex color #5A645B is a gray.
In the RGB color model it is made of 35.3% red, 39.2% green and 35.7% blue (90, 100, 91).
Its hue angle is 126°, with 5% saturation and 37% lightness. For print, the CMYK equivalent is 10% cyan, 0% magenta, 9% yellow and 61% black.
The closest named color is Ebony (#555D50), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.16:1).
#5A645B color codes
| HEX | #5A645B | |
|---|---|---|
| RGB | rgb(90, 100, 91) | |
| RGB percent | rgb(35.3%, 39.2%, 35.7%) | |
| HSL | hsl(126, 5%, 37%) | |
| HSV / HSB | hsv(126, 10%, 39%) | |
| CMYK | cmyk(10%, 0%, 9%, 61%) | |
| CIE LAB | lab(41.28, -5.78, 3.8) | |
| CIE LCH | lch(41.28, 6.91, 146.7) | |
| CIE XYZ | xyz(10.662, 12.043, 11.658) | |
| Decimal | 5923931 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A645B, 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 #5A645B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.41:1 | Fail | Fail | Pass |
| Sample text | 6.16:1 | Pass | Fail | Pass |
| #5A645B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.16:1 | Pass | Fail | Pass |
| Sample text | 3.41: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 #5A645B looks to people with the most common types of color vision deficiency.
#64625bProtanopia
no red cones#62615bDeuteranopia
no green cones#596361Tritanopia
no blue cones#616161Achromatopsia
no color vision
CSS examples
.background { background-color: #5a645b; }
.text { color: #5a645b; }
.border { border: 2px solid #5a645b; }
.transparent { background-color: rgb(90 100 91 / 50%); }
.gradient { background: linear-gradient(to right, #5a645b, #5a6460); }
Similar colors
#555d50Ebony#5e6354Black Forest#556962Dark Forest#5f6957Italian Basil#555b59Crucible#4e5a4aVerdant Hush#6a6b65Armoury#566062Yacht Club
Questions
- What color is #5A645B?
- #5A645B is a gray, closest to the named color Ebony. It belongs to the gray family of colors.
- What is the RGB value of #5A645B?
- The RGB value is 90, 100, 91: 90 red, 100 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #5A645B?
- The complementary color is #645A63, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A645B?
- White text. Black text has a contrast ratio of 3.41:1 and white text 6.16:1. WCAG asks for at least 4.5:1 for normal text.