Color #ba5b8a
A moderately saturated medium pink.
Conversions
#ba5b8a
rgb(186, 91, 138)
hsl(330.3, 40.8%, 54.3%)
hsv(330.3, 51.1%, 72.9%)
cmyk(0%, 51.1%, 25.8%, 27.1%)
lab(51.56, 43.75, -8.14)
lch(51.56, 44.5, 349.46)
oklch(60%, 0.1336, 350.91)
hwb(330.3, 35.7%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (4.95:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9a9981 · ΔE 37.7
Deuteranopia
#9fa57e · ΔE 45.3
Tritanopia
#b77877 · ΔE 15
Achromatopsia
#7b7b7b · ΔE 24.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba5b8a;
bg-[#ba5b8a]
Related colors
Frequently asked questions
#ba5b8a (#ba5b8a) is rgb(186, 91, 138) in RGB.
No, #ba5b8a 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 #ba5b8a, or check how it holds up for accessibility.