Color #ba5c9a
A moderately saturated medium magenta.
Conversions
#ba5c9a
rgb(186, 92, 154)
hsl(320.4, 40.5%, 54.5%)
hsv(320.4, 50.5%, 72.9%)
cmyk(0%, 50.5%, 17.2%, 27.1%)
lab(52.32, 45.62, -16.46)
lch(52.32, 48.5, 340.16)
oklch(60.7%, 0.1421, 342)
hwb(320.4, 36.1%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.09:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9a9a8e · ΔE 34.2
Deuteranopia
#9fa58b · ΔE 43
Tritanopia
#b78481 · ΔE 19.7
Achromatopsia
#7d7d7d · ΔE 24.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba5c9a;
bg-[#ba5c9a]
Related colors
Frequently asked questions
#ba5c9a (#ba5c9a) is rgb(186, 92, 154) in RGB.
No, #ba5c9a 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 #ba5c9a, or check how it holds up for accessibility.