Color #5f525b
A nearly neutral, gray-leaning dark magenta.
Conversions
#5f525b
rgb(95, 82, 91)
hsl(318.5, 7.3%, 34.7%)
hsv(318.5, 13.7%, 37.3%)
cmyk(0%, 13.7%, 4.2%, 62.7%)
lab(36.41, 7.15, -3.26)
lch(36.41, 7.86, 335.49)
oklch(45.5%, 0.022, 337.04)
hwb(318.5, 32.2%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (7.38:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#5a5a59 · ΔE 9.7
Deuteranopia
#5a5b58 · ΔE 11.5
Tritanopia
#5e5757 · ΔE 6.1
Achromatopsia
#565656 · ΔE 8.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f525b;
bg-[#5f525b]
Related colors
Frequently asked questions
#5f525b (#5f525b) is rgb(95, 82, 91) in RGB.
No, #5f525b is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #5f525b, or check how it holds up for accessibility.