#52525B color
The swatch above shows #52525B with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#52525B is a dark, desaturated grey, closest to the CSS named color darkslategray (#2F4F4F).
It is also a Tailwind CSS default: zinc-600. That means you can write bg-zinc-600 or text-zinc-600 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #52525B |
| RGB | rgb(82, 82, 91) |
| HSL | hsl(240, 5%, 34%) |
| CMYK | cmyk(10%, 10%, 0%, 64%) |
| Decimal | 5395035 |
| CSS | color: #52525B; |
| Android | 0xFF52525B |
| Swift | UIColor(red: 0.322, green: 0.322, blue: 0.357, alpha: 1) |
Accessibility and contrast
| White text on #52525B | 7.73:1 — AA pass · AA large pass · AAA pass |
| Black text on #52525B | 2.72:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #52525B
Each swatch keeps the hue and saturation of #52525B and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #52525B
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #52525B in code
/* CSS */
.element { color: #52525B; background-color: #52525B; }
.element { color: rgb(82 82 91); }
.element { color: hsl(240 5% 34%); }
/* Tailwind */
<div class="bg-zinc-600 text-white">
/* SCSS variable */
$brand: #52525B;
Frequently asked questions
What color is #52525B?
#52525B is a dark, desaturated grey. Its hue sits at 240° on the color wheel, with 5% saturation and 34% lightness.
What is #52525B in RGB?
#52525B converts to rgb(82, 82, 91) — 82 red, 82 green and 91 blue.
What is #52525B in CMYK?
Approximately cmyk(10%, 10%, 0%, 64%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #52525B be white or black?
White gives the better contrast ratio (7.73:1 versus 2.72:1).
What is the complementary color of #52525B?
#5B5B52 — the hue directly opposite #52525B on the color wheel.