#524252 color
The hex color #524252 is a dark, grayish magenta.
In the RGB color model it is made of 32.2% red, 25.9% green and 32.2% blue (82, 66, 82).
Its hue angle is 300°, with 11% saturation and 29% lightness. For print, the CMYK equivalent is 0% cyan, 20% magenta, 0% yellow and 68% black.
The closest named color is Black Magic (#4F4554), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.29:1).
#524252 color codes
| HEX | #524252 | |
|---|---|---|
| RGB | rgb(82, 66, 82) | |
| RGB percent | rgb(32.2%, 25.9%, 32.2%) | |
| HSL | hsl(300, 11%, 29%) | |
| HSV / HSB | hsv(300, 20%, 32%) | |
| CMYK | cmyk(0%, 20%, 0%, 68%) | |
| CIE LAB | lab(30.16, 10.14, -6.99) | |
| CIE LCH | lch(30.16, 12.32, 325.41) | |
| CIE XYZ | xyz(6.951, 6.3, 8.831) | |
| Decimal | 5390930 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #524252, 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 #524252 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.26:1 | Fail | Fail | Fail |
| Sample text | 9.29:1 | Pass | Pass | Pass |
| #524252 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.29:1 | Pass | Pass | Pass |
| Sample text | 2.26: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 #524252 looks to people with the most common types of color vision deficiency.
#414653Protanopia
no red cones#444851Deuteranopia
no green cones#534347Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #524252; }
.text { color: #524252; }
.border { border: 2px solid #524252; }
.transparent { background-color: rgb(82 66 82 / 50%); }
.gradient { background: linear-gradient(to right, #524252, #52424a); }
Similar colors
#4f4554Black Magic#403547Royal Decree#42364cCall It a Night#443240Voodoo#544563Nightly Walk#413d4bItalian Grape#614051Eggplant#483c41Pitch Black
Questions
- What color is #524252?
- #524252 is a dark, grayish magenta, closest to the named color Black Magic. It belongs to the gray family of colors.
- What is the RGB value of #524252?
- The RGB value is 82, 66, 82: 82 red, 66 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #524252?
- The complementary color is #425242, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #524252?
- White text. Black text has a contrast ratio of 2.26:1 and white text 9.29:1. WCAG asks for at least 4.5:1 for normal text.