Color #ba4e95
A moderately saturated medium magenta.
Conversions
#ba4e95
rgb(186, 78, 149)
hsl(320.6, 43.9%, 51.8%)
hsv(320.6, 58.1%, 72.9%)
cmyk(0%, 58.1%, 19.9%, 27.1%)
lab(49.57, 51.64, -17.69)
lch(49.57, 54.59, 341.09)
oklch(58.6%, 0.1612, 342.97)
hwb(320.6, 30.6%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (4.61:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#979788 · ΔE 37.4
Deuteranopia
#9da385 · ΔE 46.6
Tritanopia
#b67d7a · ΔE 21
Achromatopsia
#767676 · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba4e95;
bg-[#ba4e95]
Related colors
Frequently asked questions
#ba4e95 (#ba4e95) is rgb(186, 78, 149) in RGB.
No, #ba4e95 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 #ba4e95, or check how it holds up for accessibility.