#524851 color
The hex color #524851 is a gray.
In the RGB color model it is made of 32.2% red, 28.2% green and 31.8% blue (82, 72, 81).
Its hue angle is 306°, with 6% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 1% yellow and 68% black.
The closest named color is Black Magic (#4F4554), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.73:1).
#524851 color codes
| HEX | #524851 | |
|---|---|---|
| RGB | rgb(82, 72, 81) | |
| RGB percent | rgb(32.2%, 28.2%, 31.8%) | |
| HSL | hsl(306, 6%, 30%) | |
| HSV / HSB | hsv(306, 12%, 32%) | |
| CMYK | cmyk(0%, 12%, 1%, 68%) | |
| CIE LAB | lab(31.86, 6.07, -3.81) | |
| CIE LCH | lch(31.86, 7.17, 327.91) | |
| CIE XYZ | xyz(7.282, 7.023, 8.755) | |
| Decimal | 5392465 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #524851, 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 #524851 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.73:1 | Pass | Pass | Pass |
| #524851 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.73:1 | Pass | Pass | Pass |
| Sample text | 2.4: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 #524851 looks to people with the most common types of color vision deficiency.
#484a51Protanopia
no red cones#4a4b51Deuteranopia
no green cones#53494bTritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #524851; }
.text { color: #524851; }
.border { border: 2px solid #524851; }
.transparent { background-color: rgb(82 72 81 / 50%); }
.gradient { background: linear-gradient(to right, #524851, #52484c); }
Similar colors
#4f4554Black Magic#605258Pinot Noir#483c41Pitch Black#484753Gun Powder#554747Chinotto#413d4bItalian Grape#524b4bMatterhorn#525054Magnet
Closest common color name: Eggplant.
Questions
- What color is #524851?
- #524851 is a gray, closest to the named color Black Magic. It belongs to the gray family of colors.
- What is the RGB value of #524851?
- The RGB value is 82, 72, 81: 82 red, 72 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #524851?
- The complementary color is #485249, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #524851?
- White text. Black text has a contrast ratio of 2.4:1 and white text 8.73:1. WCAG asks for at least 4.5:1 for normal text.