Color #ba5e9f
A moderately saturated medium magenta.
Conversions
#ba5e9f
rgb(186, 94, 159)
hsl(317.6, 40%, 54.9%)
hsv(317.6, 49.5%, 72.9%)
cmyk(0%, 49.5%, 14.5%, 27.1%)
lab(52.89, 45.39, -18.52)
lch(52.89, 49.02, 337.8)
oklch(61.2%, 0.1423, 339.6)
hwb(317.6, 36.9%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.19:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9b9a93 · ΔE 31
Deuteranopia
#9fa58f · ΔE 41.6
Tritanopia
#b78885 · ΔE 20.6
Achromatopsia
#7e7e7e · ΔE 24.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba5e9f;
bg-[#ba5e9f]
Related colors
Frequently asked questions
#ba5e9f (#ba5e9f) is rgb(186, 94, 159) in RGB.
No, #ba5e9f 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 #ba5e9f, or check how it holds up for accessibility.