Color #ba4cad
A moderately saturated medium magenta.
Conversions
#ba4cad
rgb(186, 76, 173)
hsl(307.1, 44.4%, 51.4%)
hsv(307.1, 59.1%, 72.9%)
cmyk(0%, 59.1%, 7%, 27.1%)
lab(50.25, 56.3, -30.81)
lch(50.25, 64.18, 331.31)
oklch(59.5%, 0.182, 332.45)
hwb(307.1, 29.8%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (4.73:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#97969c · ΔE 27.1
Deuteranopia
#9ca398 · ΔE 40.7
Tritanopia
#b68d8a · ΔE 26.3
Achromatopsia
#787878 · ΔE 26.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba4cad;
bg-[#ba4cad]
Related colors
Frequently asked questions
#ba4cad (#ba4cad) is rgb(186, 76, 173) in RGB.
No, #ba4cad is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #ba4cad, or check how it holds up for accessibility.