Color #9a7a8e
A nearly neutral, gray-leaning medium magenta.
Conversions
#9a7a8e
rgb(154, 122, 142)
hsl(322.5, 13.7%, 54.1%)
hsv(322.5, 20.8%, 60.4%)
cmyk(0%, 20.8%, 7.8%, 39.6%)
lab(54.81, 15.88, -6.08)
lch(54.81, 17, 339.05)
oklch(61.7%, 0.0485, 340.74)
hwb(322.5, 47.8%, 39.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.55:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8d8d89 · ΔE 18.8
Deuteranopia
#8f9188 · ΔE 23
Tritanopia
#998685 · ΔE 10.3
Achromatopsia
#838383 · ΔE 15.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a7a8e;
bg-[#9a7a8e]
Related colors
Frequently asked questions
#9a7a8e (#9a7a8e) is rgb(154, 122, 142) in RGB.
No, #9a7a8e 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 #9a7a8e, or check how it holds up for accessibility.