Color #98797f
A nearly neutral, gray-leaning medium red.
Conversions
#98797f
rgb(152, 121, 127)
hsl(348.4, 13.1%, 53.5%)
hsv(348.4, 20.4%, 59.6%)
cmyk(0%, 20.4%, 16.4%, 40.4%)
lab(53.9, 13.03, 1.32)
lch(53.9, 13.1, 5.78)
oklch(60.8%, 0.0395, 5.38)
hwb(348.4, 47.5%, 40.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.38:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8c8b7e · ΔE 19.4
Deuteranopia
#8d907d · ΔE 23.9
Tritanopia
#977c7c · ΔE 3.1
Achromatopsia
#818181 · ΔE 13.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #98797f;
bg-[#98797f]
Related colors
Frequently asked questions
#98797f (#98797f) is rgb(152, 121, 127) in RGB.
No, #98797f 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 #98797f, or check how it holds up for accessibility.