Color #98787f
A nearly neutral, gray-leaning medium red.
Conversions
#98787f
rgb(152, 120, 127)
hsl(346.9, 13.4%, 53.3%)
hsv(346.9, 21.1%, 59.6%)
cmyk(0%, 21.1%, 16.4%, 40.4%)
lab(53.64, 13.61, 0.94)
lch(53.64, 13.64, 3.95)
oklch(60.6%, 0.041, 3.78)
hwb(346.9, 47.1%, 40.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.33:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8b8b7d · ΔE 20.9
Deuteranopia
#8d8f7d · ΔE 23.6
Tritanopia
#977c7c · ΔE 3.7
Achromatopsia
#808080 · ΔE 14
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #98787f;
bg-[#98787f]
Related colors
Frequently asked questions
#98787f (#98787f) is rgb(152, 120, 127) in RGB.
No, #98787f 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 #98787f, or check how it holds up for accessibility.