Color #a796a1
A nearly neutral, gray-leaning light magenta.
Conversions
#a796a1
rgb(167, 150, 161)
hsl(321.2, 8.8%, 62.2%)
hsv(321.2, 10.2%, 65.5%)
cmyk(0%, 10.2%, 3.6%, 34.5%)
lab(63.84, 8.27, -3.47)
lch(63.84, 8.97, 337.24)
oklch(69.1%, 0.0253, 338.91)
hwb(321.2, 58.8%, 34.5%)
Harmony colors
Accessibility
Black text reads better on this background (7.52:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a0a09e · ΔE 11.3
Deuteranopia
#a1a29e · ΔE 13
Tritanopia
#a69c9c · ΔE 6.4
Achromatopsia
#9b9b9b · ΔE 10
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a796a1;
bg-[#a796a1]
Related colors
Frequently asked questions
#a796a1 (#a796a1) is rgb(167, 150, 161) in RGB.
No, #a796a1 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 #a796a1, or check how it holds up for accessibility.