Color #9a7f8a
A nearly neutral, gray-leaning medium pink.
Conversions
#9a7f8a
rgb(154, 127, 138)
hsl(335.6, 11.8%, 55.1%)
hsv(335.6, 17.5%, 60.4%)
cmyk(0%, 17.5%, 10.4%, 39.6%)
lab(55.97, 12.27, -2.03)
lch(55.97, 12.44, 350.61)
oklch(62.5%, 0.0366, 351.83)
hwb(335.6, 49.8%, 39.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.78:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8f87 · ΔE 17.7
Deuteranopia
#919387 · ΔE 20.8
Tritanopia
#998585 · ΔE 5.8
Achromatopsia
#868686 · ΔE 13
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a7f8a;
bg-[#9a7f8a]
Related colors
Frequently asked questions
#9a7f8a (#9a7f8a) is rgb(154, 127, 138) in RGB.
No, #9a7f8a 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 #9a7f8a, or check how it holds up for accessibility.