Color #a1388b
A moderately saturated medium magenta.
Conversions
#a1388b
rgb(161, 56, 139)
hsl(312.6, 48.4%, 42.5%)
hsv(312.6, 65.2%, 63.1%)
cmyk(0%, 65.2%, 13.7%, 36.9%)
lab(41.64, 52.71, -24.21)
lch(41.64, 58, 335.33)
oklch(51.9%, 0.1681, 336.99)
hwb(312.6, 22%, 36.9%)
Harmony colors
Accessibility
White text reads better on this background (6.08:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#81807d · ΔE 30.3
Deuteranopia
#868c79 · ΔE 43.8
Tritanopia
#9e706d · ΔE 23.8
Achromatopsia
#626262 · ΔE 25.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a1388b;
bg-[#a1388b]
Related colors
Frequently asked questions
#a1388b (#a1388b) is rgb(161, 56, 139) in RGB.
No, #a1388b 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 #a1388b, or check how it holds up for accessibility.