Color #a798a0
A nearly neutral, gray-leaning light magenta.
Conversions
#a798a0
rgb(167, 152, 160)
hsl(328, 7.9%, 62.5%)
hsv(328, 9%, 65.5%)
cmyk(0%, 9%, 4.2%, 34.5%)
lab(64.33, 6.97, -2.18)
lch(64.33, 7.3, 342.63)
oklch(69.5%, 0.0209, 344.17)
hwb(328, 59.6%, 34.5%)
Harmony colors
Accessibility
Black text reads better on this background (7.64:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a1a19e · ΔE 10.3
Deuteranopia
#a2a39e · ΔE 11.9
Tritanopia
#a69d9c · ΔE 5.6
Achromatopsia
#9c9c9c · ΔE 8.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a798a0;
bg-[#a798a0]
Related colors
Frequently asked questions
#a798a0 (#a798a0) is rgb(167, 152, 160) in RGB.
No, #a798a0 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 #a798a0, or check how it holds up for accessibility.