Skip to content

#ba72b2

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

RGB
186, 114, 178
HSL
307°, 34%, 59%
CMYK
0, 39, 4, 27
Luminance
0.2569

At a glance

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

Hex
#ba72b2
Hue
307°
magenta / pink
Saturation
34%
soft
Lightness
59%
balanced
Brightness
73%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2569
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
6.14:1
Closest name
Orchid
ΔE2000 7.6
Where it sits
Hue307° of 360°
Saturation34%
Lightness59%
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#ba72b2
RGBrgb(186, 114, 178)
HSLhsl(307, 34%, 59%)
CMYKcmyk(0%, 39%, 4%, 27%)
LABlab(57.7 38.1 -22.1)
LCHlch(57.7 44.1 329.9)
OKLCHoklch(0.651 0.123 331.0)
Decimal12219058
Display P3color(display-p3 0.729 0.447 0.698)

Copy-ready code

/* CSS */
color: #ba72b2;
background-color: #ba72b2;
/* Tailwind (arbitrary) */
class="text-[#ba72b2] bg-[#ba72b2]"
/* SCSS */
$brand: #ba72b2;
/* SwiftUI */
Color(red: 0.729, green: 0.447, blue: 0.698)
/* Android */
Color.parseColor("#ba72b2")
/* Flutter */
Color(0xFFBA72B2)
/* Python / OpenCV (BGR) */
(178, 114, 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 #ba72b2 · 6.14:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.42:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.14:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ba72b2 as text scores 3.42:1 on white and 6.14:1 on black.

Accessibility — WCAG contrast

Aa
#ba72b2 on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#ba72b2 on black: 6.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7085B4
deuteranopia · #828EB0
tritanopia · #BF778A

Color scale — 50 to 950

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

#F9F5F9
#F4ECF3
#E8D4E6
#DAB4D6
#C88EC1
#ba72b2
#A4509B
#894381
#6E3667
#512A4C
#321A30
Base = 500Lightest = 50 · #F9F5F9Darkest = 950 · #321A30
:root {
  --brand-50: #F9F5F9;
  --brand-100: #F4ECF3;
  --brand-200: #E8D4E6;
  --brand-300: #DAB4D6;
  --brand-400: #C88EC1;
  --brand-500: #ba72b2;
  --brand-600: #A4509B;
  --brand-700: #894381;
  --brand-800: #6E3667;
  --brand-900: #512A4C;
  --brand-950: #321A30;
  --brand: #ba72b2;
  --brand-ink: #000000;
}

Colors that work with #ba72b2

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#FAF5F9
Tinted page background
Border#E4C8E1
Hairlines and dividers
Muted text#9A4B91
Captions on the surface
Accent#4A8D3F
Second voice, not a rival
Dark variant#562A51
Hover, pressed, headers
Light variant#F7EEF6
Selected rows, tints
Dark surface#241423
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 #ba72b2

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#72BA7A
Analogous left#9E72BA
Analogous right#BA728E
Split-complement 1#8EBA72
Split-complement 2#72BA9E
Triadic 1#B2BA72
Triadic 2#72B2BA
Tetradic#BA9E72

RGB percentages

Red72.9%
Green44.7%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta38.7%
Yellow4.3%
Key (black)27.1%

Color previews

#ba72b2 text on a black background

contrast 6.14:1

Card sample

#ba72b2 text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba72b2

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.

#ba72b2 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.

#ba72b2, answered

What color is #ba72b2?

#ba72b2 is a balanced soft magenta / pink, closest to Orchid (ΔE2000 7.6). It sits at 307° on the hue wheel with 34% saturation and 59% lightness, which reads as neutral.

What is the RGB value of #ba72b2?

rgb(186, 114, 178) — 186 red, 114 green and 178 blue out of 255, or 72.9% / 44.7% / 69.8% by channel.

Is #ba72b2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2569 and perceived brightness is 58%, so black text on it reaches 6.14:1.

Should I use black or white text on #ba72b2?

Black. It scores 6.14:1 against #ba72b2, versus 3.42:1 for white — AA at any size.

What is the complementary color of #ba72b2?

#72BA7A sits directly opposite on the wheel. Softer options are the split-complements #8EBA72 and #72BA9E, which give the same contrast with far less vibration.

What colors go well with #ba72b2?

For interface work: #FAF5F9 as the surface, #E4C8E1 for borders, #9A4B91 for secondary text, #4A8D3F as an accent and #562A51 for hover and pressed states. For a palette, the analogous pair #9E72BA and #BA728E stays calm, while #72BA7A is the loudest partner.

What is #ba72b2 in CMYK for printing?

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

Is #ba72b2 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 #BA7298; nudged cooler, #A970BC.

Work with #ba72b2 in the Color Lab