#52404D color
The hex color #52404D is a dark, grayish magenta.
In the RGB color model it is made of 32.2% red, 25.1% green and 30.2% blue (82, 64, 77).
Its hue angle is 317°, with 12% saturation and 29% lightness. For print, the CMYK equivalent is 0% cyan, 22% magenta, 6% yellow and 68% black.
The closest named color is Black Magic (#4F4554), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.55:1).
#52404D color codes
| HEX | #52404D | |
|---|---|---|
| RGB | rgb(82, 64, 77) | |
| RGB percent | rgb(32.2%, 25.1%, 30.2%) | |
| HSL | hsl(317, 12%, 29%) | |
| HSV / HSB | hsv(317, 22%, 32%) | |
| CMYK | cmyk(0%, 22%, 6%, 68%) | |
| CIE LAB | lab(29.4, 10.35, -4.88) | |
| CIE LCH | lch(29.4, 11.44, 334.78) | |
| CIE XYZ | xyz(6.653, 5.997, 7.827) | |
| Decimal | 5390413 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #52404D, 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 #52404D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.55:1 | Pass | Pass | Pass |
| #52404D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.55:1 | Pass | Pass | Pass |
| Sample text | 2.2: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 #52404D looks to people with the most common types of color vision deficiency.
#40444eProtanopia
no red cones#44464cDeuteranopia
no green cones#544044Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #52404d; }
.text { color: #52404d; }
.border { border: 2px solid #52404d; }
.transparent { background-color: rgb(82 64 77 / 50%); }
.gradient { background: linear-gradient(to right, #52404d, #524044); }
Similar colors
#4f4554Black Magic#443240Voodoo#483c41Pitch Black#403547Royal Decree#614051Eggplant#4b373aVibrant Vine#42364cCall It a Night#413d4bItalian Grape
Questions
- What color is #52404D?
- #52404D 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 #52404D?
- The RGB value is 82, 64, 77: 82 red, 64 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #52404D?
- The complementary color is #405245, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #52404D?
- White text. Black text has a contrast ratio of 2.2:1 and white text 9.55:1. WCAG asks for at least 4.5:1 for normal text.