Color #ba6ea3
A muted medium magenta.
Conversions
#ba6ea3
rgb(186, 110, 163)
hsl(318.2, 35.5%, 58%)
hsv(318.2, 40.9%, 72.9%)
cmyk(0%, 40.9%, 12.4%, 27.1%)
lab(56.32, 37.67, -15.63)
lch(56.32, 40.78, 337.47)
oklch(63.8%, 0.1175, 339.22)
hwb(318.2, 43.1%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.85:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9f9e98 · ΔE 28.6
Deuteranopia
#a3a896 · ΔE 37.5
Tritanopia
#b78f8d · ΔE 18.1
Achromatopsia
#878787 · ΔE 23.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba6ea3;
bg-[#ba6ea3]
Related colors
Frequently asked questions
#ba6ea3 (#ba6ea3) is rgb(186, 110, 163) in RGB.
No, #ba6ea3 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 #ba6ea3, or check how it holds up for accessibility.