#525A52 color
The hex color #525A52 is a gray.
In the RGB color model it is made of 32.2% red, 35.3% green and 32.2% blue (82, 90, 82).
Its hue angle is 120°, with 5% saturation and 34% lightness. For print, the CMYK equivalent is 9% cyan, 0% magenta, 9% yellow and 65% black.
The closest named color is Ebony (#555D50), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.14:1).
#525A52 color codes
| HEX | #525A52 | |
|---|---|---|
| RGB | rgb(82, 90, 82) | |
| RGB percent | rgb(32.2%, 35.3%, 32.2%) | |
| HSL | hsl(120, 5%, 34%) | |
| HSV / HSB | hsv(120, 9%, 35%) | |
| CMYK | cmyk(9%, 0%, 9%, 65%) | |
| CIE LAB | lab(37.33, -4.88, 3.55) | |
| CIE LCH | lch(37.33, 6.03, 143.97) | |
| CIE XYZ | xyz(8.659, 9.715, 9.4) | |
| Decimal | 5397074 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #525A52, 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 #525A52 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.94:1 | Fail | Fail | Fail |
| Sample text | 7.14:1 | Pass | Pass | Pass |
| #525A52 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.14:1 | Pass | Pass | Pass |
| Sample text | 2.94: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 #525A52 looks to people with the most common types of color vision deficiency.
#5a5852Protanopia
no red cones#595752Deuteranopia
no green cones#515958Tritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #525a52; }
.text { color: #525a52; }
.border { border: 2px solid #525a52; }
.transparent { background-color: rgb(82 90 82 / 50%); }
.gradient { background: linear-gradient(to right, #525a52, #525a56); }
Similar colors
#555d50Ebony#555b59Crucible#4e5a4aVerdant Hush#5e6354Black Forest#444b43Ancient Pine#495252Dark as Night#455454All Nighter#424c4aUrban Chic
Questions
- What color is #525A52?
- #525A52 is a gray, closest to the named color Ebony. It belongs to the gray family of colors.
- What is the RGB value of #525A52?
- The RGB value is 82, 90, 82: 82 red, 90 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #525A52?
- The complementary color is #5A525A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #525A52?
- White text. Black text has a contrast ratio of 2.94:1 and white text 7.14:1. WCAG asks for at least 4.5:1 for normal text.