#51524B color
The hex color #51524B is a gray.
In the RGB color model it is made of 31.8% red, 32.2% green and 29.4% blue (81, 82, 75).
Its hue angle is 69°, with 4% saturation and 31% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 9% yellow and 68% black.
The closest named color is Subterrain Kingdom (#4F4E4A), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.9:1).
#51524B color codes
| HEX | #51524B | |
|---|---|---|
| RGB | rgb(81, 82, 75) | |
| RGB percent | rgb(31.8%, 32.2%, 29.4%) | |
| HSL | hsl(69, 4%, 31%) | |
| HSV / HSB | hsv(69, 9%, 32%) | |
| CMYK | cmyk(1%, 0%, 9%, 68%) | |
| CIE LAB | lab(34.58, -1.87, 3.97) | |
| CIE LCH | lch(34.58, 4.39, 115.2) | |
| CIE XYZ | xyz(7.68, 8.292, 7.851) | |
| Decimal | 5329483 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51524B, 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 #51524B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.66:1 | Fail | Fail | Fail |
| Sample text | 7.9:1 | Pass | Pass | Pass |
| #51524B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.9:1 | Pass | Pass | Pass |
| Sample text | 2.66: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 #51524B looks to people with the most common types of color vision deficiency.
#53514bProtanopia
no red cones#53514bDeuteranopia
no green cones#525150Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #51524b; }
.text { color: #51524b; }
.border { border: 2px solid #51524b; }
.transparent { background-color: rgb(81 82 75 / 50%); }
.gradient { background: linear-gradient(to right, #51524b, #4e524b); }
Similar colors
#4f4e4aSubterrain Kingdom#57534bMasala#484a46Armadillo#565350Heavy Charcoal#46473eHeavy Metal#444b43Ancient Pine#49463fWhiskey and Wine#555555Stone Cold
Closest common color name: Ebony.
Questions
- What color is #51524B?
- #51524B is a gray, closest to the named color Subterrain Kingdom. It belongs to the gray family of colors.
- What is the RGB value of #51524B?
- The RGB value is 81, 82, 75: 81 red, 82 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #51524B?
- The complementary color is #4C4B52, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51524B?
- White text. Black text has a contrast ratio of 2.66:1 and white text 7.9:1. WCAG asks for at least 4.5:1 for normal text.