Skip to content
Kolorvia
#ba5fa2

Color #ba5fa2

A muted medium magenta.

Conversions

HEX
#ba5fa2
RGB
rgb(186, 95, 162)
HSL
hsl(315.8, 39.7%, 55.1%)
HSV / HSB
hsv(315.8, 48.9%, 72.9%)
CMYK
cmyk(0%, 48.9%, 12.9%, 27.1%)
LAB
lab(53.2, 45.37, -19.8)
LCH
lch(53.2, 49.5, 336.42)
OKLCH
oklch(61.5%, 0.1429, 338.14)
HWB
hwb(315.8, 37.3%, 27.1%)

Harmony colors

Complementary

#5fba77

Analogous

#a45fba
#ba5fa2
#ba5f75

Triadic

#ba5fa2
#a2ba5f
#5fa2ba

Split-complementary

#ba5fa2
#75ba5f
#5fbaa4

Tetradic

#ba5fa2
#ba775f
#5fba77
#5fa2ba

Square

#ba5fa2
#baa45f
#5fba77
#5f75ba

Shades

Color #ba5fa2 mixed toward black.

#a4478b
#83386f
#622a53
#411c38
#210e1c

Tints

Color #ba5fa2 mixed toward white.

#c57ab2
#d194c1
#dcafd1
#e8cae0
#f3e4f0

Tones

Color #ba5fa2 mixed toward gray.

#b2679e
#ab6e9b
#a37697
#9c7d94
#948590

Accessibility

Aa White text on this color
4:1
Aa Black text on this color
5.25:1

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

Under color vision deficiencies

Protanopia

#9b9a95 · ΔE 29.7

Deuteranopia

#a0a592 · ΔE 40.2

Tritanopia

#b78a87 · ΔE 21.1

Achromatopsia

#7f7f7f · ΔE 24.8

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

Code

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Orchid #da70d6
Hot Pink #ff69b4
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#ba5fa2 (#ba5fa2) is rgb(186, 95, 162) in RGB.

No, #ba5fa2 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 #ba5fa2, 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.