Color #ba5ea3
A moderately saturated medium magenta.
Conversions
#ba5ea3
rgb(186, 94, 163)
hsl(315, 40%, 54.9%)
hsv(315, 49.5%, 72.9%)
cmyk(0%, 49.5%, 12.4%, 27.1%)
lab(53.05, 46.04, -20.63)
lch(53.05, 50.45, 335.86)
oklch(61.4%, 0.1454, 337.56)
hwb(315, 36.9%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.22:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9b9a96 · ΔE 29.2
Deuteranopia
#9fa593 · ΔE 40.3
Tritanopia
#b78a88 · ΔE 21.1
Achromatopsia
#7f7f7f · ΔE 24.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba5ea3;
bg-[#ba5ea3]
Related colors
Frequently asked questions
#ba5ea3 (#ba5ea3) is rgb(186, 94, 163) in RGB.
No, #ba5ea3 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 #ba5ea3, or check how it holds up for accessibility.