Color #a6438e
A moderately saturated medium magenta.
Conversions
#a6438e
rgb(166, 67, 142)
hsl(314.5, 42.5%, 45.7%)
hsv(314.5, 59.6%, 65.1%)
cmyk(0%, 59.6%, 14.5%, 34.9%)
lab(44.34, 49.74, -21.79)
lch(44.34, 54.3, 336.34)
oklch(54.1%, 0.1576, 338.09)
hwb(314.5, 26.3%, 34.9%)
Harmony colors
Accessibility
White text reads better on this background (5.5:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#878681 · ΔE 31.2
Deuteranopia
#8b917d · ΔE 43.1
Tritanopia
#a37572 · ΔE 22.7
Achromatopsia
#696969 · ΔE 25.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a6438e;
bg-[#a6438e]
Related colors
Frequently asked questions
#a6438e (#a6438e) is rgb(166, 67, 142) in RGB.
No, #a6438e 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 #a6438e, or check how it holds up for accessibility.