Skip to content
Kolorvia
#ba3788

Color #ba3788

A moderately saturated medium magenta.

Conversions

HEX
#ba3788
RGB
rgb(186, 55, 136)
HSL
hsl(322.9, 54.4%, 47.3%)
HSV / HSB
hsv(322.9, 70.4%, 72.9%)
CMYK
cmyk(0%, 70.4%, 26.9%, 27.1%)
LAB
lab(45.57, 59.45, -15.99)
LCH
lch(45.57, 61.56, 344.95)
OKLCH
oklch(55.5%, 0.1853, 346.83)
HWB
hwb(322.9, 21.6%, 27.1%)

Harmony colors

Complementary

#37ba69

Analogous

#ab37ba
#ba3788
#ba3747

Triadic

#ba3788
#88ba37
#3788ba

Split-complementary

#ba3788
#47ba37
#37baab

Tetradic

#ba3788
#ba6937
#37ba69
#3788ba

Square

#ba3788
#baab37
#37ba69
#3747ba

Shades

Color #ba3788 mixed toward black.

#9b2e71
#7c255b
#5d1c44
#3e122d
#1f0917

Tints

Color #ba3788 mixed toward white.

#cc529d
#d675b1
#e097c4
#ebbad8
#f5dceb

Tones

Color #ba3788 mixed toward gray.

#af4286
#a44d83
#995880
#8e637e
#846e7b

Accessibility

Aa White text on this color
5.26:1
Aa Black text on this color
3.99:1

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

Under color vision deficiencies

Protanopia

#94937a · ΔE 43.8

Deuteranopia

#9aa177 · ΔE 53.5

Tritanopia

#b66e6b · ΔE 21.2

Achromatopsia

#6c6c6c · ΔE 26.3

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

Code

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

Related colors

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

Frequently asked questions

#ba3788 (#ba3788) is rgb(186, 55, 136) in RGB.

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