#51565C color
The hex color #51565C is a gray.
In the RGB color model it is made of 31.8% red, 33.7% green and 36.1% blue (81, 86, 92).
Its hue angle is 213°, with 6% saturation and 34% lightness. For print, the CMYK equivalent is 12% cyan, 7% magenta, 0% yellow and 64% black.
The closest named color is Trout (#4C5356), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.41:1).
#51565C color codes
| HEX | #51565C | |
|---|---|---|
| RGB | rgb(81, 86, 92) | |
| RGB percent | rgb(31.8%, 33.7%, 36.1%) | |
| HSL | hsl(213, 6%, 34%) | |
| HSV / HSB | hsv(213, 12%, 36%) | |
| CMYK | cmyk(12%, 7%, 0%, 64%) | |
| CIE LAB | lab(36.32, -0.61, -4.16) | |
| CIE LCH | lch(36.32, 4.2, 261.67) | |
| CIE XYZ | xyz(8.652, 9.178, 11.439) | |
| Decimal | 5330524 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51565C, 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 #51565C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.84:1 | Fail | Fail | Fail |
| Sample text | 7.41:1 | Pass | Pass | Pass |
| #51565C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.41:1 | Pass | Pass | Pass |
| Sample text | 2.84: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 #51565C looks to people with the most common types of color vision deficiency.
#54565cProtanopia
no red cones#53555cDeuteranopia
no green cones#4e5758Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #51565c; }
.text { color: #51565c; }
.border { border: 2px solid #51565c; }
.transparent { background-color: rgb(81 86 92 / 50%); }
.gradient { background: linear-gradient(to right, #51565c, #52515c); }
Similar colors
#4c5356Trout#5a5e61Blindfolded#474d52Sooty Lashes#494d55Isolation#474c50Witchcraft#535e64Lava Rock#555555Stone Cold#494c55Deep Night
Closest common color name: Charcoal.
Questions
- What color is #51565C?
- #51565C is a gray, closest to the named color Trout. It belongs to the gray family of colors.
- What is the RGB value of #51565C?
- The RGB value is 81, 86, 92: 81 red, 86 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #51565C?
- The complementary color is #5C5751, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51565C?
- White text. Black text has a contrast ratio of 2.84:1 and white text 7.41:1. WCAG asks for at least 4.5:1 for normal text.