Color #ba71ac
A muted medium magenta.
Conversions
#ba71ac
rgb(186, 113, 172)
hsl(311.5, 34.6%, 58.6%)
hsv(311.5, 39.2%, 72.9%)
cmyk(0%, 39.2%, 7.5%, 27.1%)
lab(57.3, 37.6, -19.35)
lch(57.3, 42.29, 332.77)
oklch(64.7%, 0.1197, 334.21)
hwb(311.5, 44.3%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (6.05:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#a09fa0 · ΔE 24.2
Deuteranopia
#a4a89d · ΔE 34.3
Tritanopia
#b79694 · ΔE 19.8
Achromatopsia
#8a8a8a · ΔE 23.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba71ac;
bg-[#ba71ac]
Related colors
Frequently asked questions
#ba71ac (#ba71ac) is rgb(186, 113, 172) in RGB.
No, #ba71ac 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 #ba71ac, or check how it holds up for accessibility.