Color #9a7f8c
A nearly neutral, gray-leaning medium pink.
Conversions
#9a7f8c
rgb(154, 127, 140)
hsl(331.1, 11.8%, 55.1%)
hsv(331.1, 17.5%, 60.4%)
cmyk(0%, 17.5%, 9.1%, 39.6%)
lab(56.03, 12.63, -3.11)
lch(56.03, 13.01, 346.17)
oklch(62.6%, 0.0378, 347.62)
hwb(331.1, 49.8%, 39.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.79:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8f89 · ΔE 17.2
Deuteranopia
#919388 · ΔE 20.9
Tritanopia
#998786 · ΔE 7.5
Achromatopsia
#868686 · ΔE 13.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a7f8c;
bg-[#9a7f8c]
Related colors
Frequently asked questions
#9a7f8c (#9a7f8c) is rgb(154, 127, 140) in RGB.
No, #9a7f8c 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 #9a7f8c, or check how it holds up for accessibility.