Color #a4337e
A moderately saturated medium magenta.
Conversions
#a4337e
rgb(164, 51, 126)
hsl(320.2, 52.6%, 42.2%)
hsv(320.2, 68.9%, 64.3%)
cmyk(0%, 68.9%, 23.2%, 35.7%)
lab(40.85, 53.65, -17.43)
lch(40.85, 56.41, 342)
oklch(51.2%, 0.1681, 343.94)
hwb(320.2, 20%, 35.7%)
Harmony colors
Accessibility
White text reads better on this background (6.26:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#828271 · ΔE 39.2
Deuteranopia
#888e6e · ΔE 48.7
Tritanopia
#a16663 · ΔE 21.1
Achromatopsia
#606060 · ΔE 25.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a4337e;
bg-[#a4337e]
Related colors
Frequently asked questions
#a4337e (#a4337e) is rgb(164, 51, 126) in RGB.
No, #a4337e 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 #a4337e, or check how it holds up for accessibility.