#525D51 color
The hex color #525D51 is a gray.
In the RGB color model it is made of 32.2% red, 36.5% green and 31.8% blue (82, 93, 81).
Its hue angle is 115°, with 7% saturation and 34% lightness. For print, the CMYK equivalent is 12% cyan, 0% magenta, 13% yellow and 64% black.
The closest named color is Ebony (#555D50), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.9:1).
#525D51 color codes
| HEX | #525D51 | |
|---|---|---|
| RGB | rgb(82, 93, 81) | |
| RGB percent | rgb(32.2%, 36.5%, 31.8%) | |
| HSL | hsl(115, 7%, 34%) | |
| HSV / HSB | hsv(115, 13%, 36%) | |
| CMYK | cmyk(12%, 0%, 13%, 64%) | |
| CIE LAB | lab(38.23, -6.87, 5.46) | |
| CIE LCH | lch(38.23, 8.78, 141.54) | |
| CIE XYZ | xyz(8.879, 10.217, 9.287) | |
| Decimal | 5397841 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #525D51, 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 #525D51 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.04:1 | Fail | Fail | Pass |
| Sample text | 6.9:1 | Pass | Fail | Pass |
| #525D51 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.9:1 | Pass | Fail | Pass |
| Sample text | 3.04: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 #525D51 looks to people with the most common types of color vision deficiency.
#5e5b50Protanopia
no red cones#5c5a52Deuteranopia
no green cones#515c5aTritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #525d51; }
.text { color: #525d51; }
.border { border: 2px solid #525d51; }
.transparent { background-color: rgb(82 93 81 / 50%); }
.gradient { background: linear-gradient(to right, #525d51, #515d56); }
Similar colors
#555d50Ebony#4e5a4aVerdant Hush#5e6354Black Forest#5f6957Italian Basil#4b5d46Muddy Olive#556962Dark Forest#595d45Tree of Life#555b59Crucible
Questions
- What color is #525D51?
- #525D51 is a gray, closest to the named color Ebony. It belongs to the gray family of colors.
- What is the RGB value of #525D51?
- The RGB value is 82, 93, 81: 82 red, 93 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #525D51?
- The complementary color is #5C515D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #525D51?
- White text. Black text has a contrast ratio of 3.04:1 and white text 6.9:1. WCAG asks for at least 4.5:1 for normal text.