Color #7a6171
A nearly neutral, gray-leaning medium magenta.
Conversions
#7a6171
rgb(122, 97, 113)
hsl(321.6, 11.4%, 42.9%)
hsv(321.6, 20.5%, 47.8%)
cmyk(0%, 20.5%, 7.4%, 52.2%)
lab(44.06, 13, -5.18)
lch(44.06, 13.99, 338.27)
oklch(52.3%, 0.0399, 339.93)
hwb(321.6, 38%, 52.2%)
Harmony colors
Accessibility
White text reads better on this background (5.56:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#70706d · ΔE 16.2
Deuteranopia
#71736d · ΔE 19.3
Tritanopia
#796a6a · ΔE 8.7
Achromatopsia
#686868 · ΔE 13.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7a6171;
bg-[#7a6171]
Related colors
Frequently asked questions
#7a6171 (#7a6171) is rgb(122, 97, 113) in RGB.
No, #7a6171 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 #7a6171, or check how it holds up for accessibility.