Skip to content
Kolorvia
#ba5c9a

Color #ba5c9a

A moderately saturated medium magenta.

Conversions

HEX
#ba5c9a
RGB
rgb(186, 92, 154)
HSL
hsl(320.4, 40.5%, 54.5%)
HSV / HSB
hsv(320.4, 50.5%, 72.9%)
CMYK
cmyk(0%, 50.5%, 17.2%, 27.1%)
LAB
lab(52.32, 45.62, -16.46)
LCH
lch(52.32, 48.5, 340.16)
OKLCH
oklch(60.7%, 0.1421, 342)
HWB
hwb(320.4, 36.1%, 27.1%)

Harmony colors

Complementary

#5cba7c

Analogous

#ab5cba
#ba5c9a
#ba5c6b

Triadic

#ba5c9a
#9aba5c
#5c9aba

Split-complementary

#ba5c9a
#6bba5c
#5cbaab

Tetradic

#ba5c9a
#ba7c5c
#5cba7c
#5c9aba

Square

#ba5c9a
#baab5c
#5cba7c
#5c6bba

Shades

Color #ba5c9a mixed toward black.

#a34583
#823769
#62294e
#411c34
#210e1a

Tints

Color #ba5c9a mixed toward white.

#c577ab
#d192bc
#dcadcd
#e8c9dd
#f3e4ee

Tones

Color #ba5c9a mixed toward gray.

#b26498
#aa6c95
#a27392
#9b7b90
#93838d

Accessibility

Aa White text on this color
4.13:1
Aa Black text on this color
5.09:1

Black text reads better on this background (5.09:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#9a9a8e · ΔE 34.2

Deuteranopia

#9fa58b · ΔE 43

Tritanopia

#b78481 · ΔE 19.7

Achromatopsia

#7d7d7d · ΔE 24.7

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #ba5c9a;
Tailwind (arbitrary value)
bg-[#ba5c9a]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Lavender Blush #fff0f5
Pale Violet Red #db7093

Frequently asked questions

#ba5c9a (#ba5c9a) is rgb(186, 92, 154) in RGB.

No, #ba5c9a is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #ba5c9a, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.