Skip to content

#ba4dad

a balanced, soft magenta / pink · neutral · closest name: Medium Orchid

RGB
186, 77, 173
HSL
307°, 44%, 52%
CMYK
0, 59, 7, 27
Luminance
0.1876

At a glance

Every number on this page in one read: what #ba4dad is made of, how bright it looks, and which way it leans.

Hex
#ba4dad
Hue
307°
magenta / pink
Saturation
44%
soft
Lightness
52%
balanced
Brightness
73%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1876
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
4.75:1
Closest name
Medium Orchid
ΔE2000 7
Where it sits
Hue307° of 360°
Saturation44%
Lightness52%
Temperature
Warm ← → Cool46% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ba4dad
RGBrgb(186, 77, 173)
HSLhsl(307, 44%, 52%)
CMYKcmyk(0%, 59%, 7%, 27%)
LABlab(50.4 55.9 -30.6)
LCHlch(50.4 63.7 331.3)
OKLCHoklch(0.596 0.181 332.5)
Decimal12209581
Display P3color(display-p3 0.729 0.302 0.678)

Copy-ready code

/* CSS */
color: #ba4dad;
background-color: #ba4dad;
/* Tailwind (arbitrary) */
class="text-[#ba4dad] bg-[#ba4dad]"
/* SCSS */
$brand: #ba4dad;
/* SwiftUI */
Color(red: 0.729, green: 0.302, blue: 0.678)
/* Android */
Color.parseColor("#ba4dad")
/* Flutter */
Color(0xFFBA4DAD)
/* Python / OpenCV (BGR) */
(173, 77, 186)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ba4dad · 4.75:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.42:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.75:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ba4dad as text scores 4.42:1 on white and 4.75:1 on black.

Accessibility — WCAG contrast

Aa
#ba4dad on white: 4.42:1
AA ✗ fail · AA-large · AAA
Aa
#ba4dad on black: 4.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #496EB0
deuteranopia · #6C7EAA
tritanopia · #C15676

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba4dad is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF5F9
#F5EAF4
#EBD1E8
#E0AEDA
#D086C7
#C05DB4
#ba4dad
#933988
#762E6D
#562450
#361732
Base = 600Lightest = 50 · #FAF5F9Darkest = 950 · #361732
:root {
  --brand-50: #FAF5F9;
  --brand-100: #F5EAF4;
  --brand-200: #EBD1E8;
  --brand-300: #E0AEDA;
  --brand-400: #D086C7;
  --brand-500: #C05DB4;
  --brand-600: #ba4dad;
  --brand-700: #933988;
  --brand-800: #762E6D;
  --brand-900: #562450;
  --brand-950: #361732;
  --brand: #ba4dad;
  --brand-ink: #000000;
}

Colors that work with #ba4dad

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#E8C4E4
Hairlines and dividers
Muted text#9B4B91
Captions on the surface
Accent#429735
Second voice, not a rival
Dark variant#5C2455
Hover, pressed, headers
Light variant#F8EDF7
Selected rows, tints
Dark surface#241422
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ba4dad

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#4DBA5A
Analogous left#914DBA
Analogous right#BA4D77
Split-complement 1#77BA4D
Split-complement 2#4DBA91
Triadic 1#ADBA4D
Triadic 2#4DADBA
Tetradic#BA914D

RGB percentages

Red72.9%
Green30.2%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta58.6%
Yellow7.0%
Key (black)27.1%

Color previews

#ba4dad text on a black background

contrast 4.75:1

Card sample

#ba4dad text on a white background

contrast 4.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ba4dad;
Background color
Panel with #ba4dad background
background-color: #ba4dad;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ba4dad;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(186, 77, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 77, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba4dad;
background: linear-gradient(135deg, #ba4dad, #BA4D64);

Monochromatic scale

Palettes built from #ba4dad

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ba4dad in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#ba4dad, answered

What color is #ba4dad?

#ba4dad is a balanced soft magenta / pink, closest to Medium Orchid (ΔE2000 7). It sits at 307° on the hue wheel with 44% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #ba4dad?

rgb(186, 77, 173) — 186 red, 77 green and 173 blue out of 255, or 72.9% / 30.2% / 67.8% by channel.

Is #ba4dad a light or a dark color?

It is a mid-tone. Relative luminance is 0.1876 and perceived brightness is 51%, so black text on it reaches 4.75:1.

Should I use black or white text on #ba4dad?

Black. It scores 4.75:1 against #ba4dad, versus 4.42:1 for white — AA at any size.

What is the complementary color of #ba4dad?

#4DBA5A sits directly opposite on the wheel. Softer options are the split-complements #77BA4D and #4DBA91, which give the same contrast with far less vibration.

What colors go well with #ba4dad?

For interface work: #FAF4FA as the surface, #E8C4E4 for borders, #9B4B91 for secondary text, #429735 as an accent and #5C2455 for hover and pressed states. For a palette, the analogous pair #914DBA and #BA4D77 stays calm, while #4DBA5A is the loudest partner.

What is #ba4dad in CMYK for printing?

cmyk(0%, 59%, 7%, 27%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ba4dad warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA4D85; nudged cooler, #A04BBC.

Work with #ba4dad in the Color Lab