Skip to content

#ba72ac

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

RGB
186, 114, 172
HSL
312°, 34%, 59%
CMYK
0, 39, 8, 27
Luminance
0.2545

At a glance

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

Hex
#ba72ac
Hue
312°
magenta / pink
Saturation
34%
soft
Lightness
59%
balanced
Brightness
73%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2545
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
6.09:1
Closest name
Orchid
ΔE2000 8.6
Where it sits
Hue312° of 360°
Saturation34%
Lightness59%
Temperature
Warm ← → Cool44% 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#ba72ac
RGBrgb(186, 114, 172)
HSLhsl(312, 34%, 59%)
CMYKcmyk(0%, 39%, 8%, 27%)
LABlab(57.5 37.1 -19.0)
LCHlch(57.5 41.7 332.8)
OKLCHoklch(0.649 0.118 334.3)
Decimal12219052
Display P3color(display-p3 0.729 0.447 0.675)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba72ac on white: 3.45:1
AA ✗ fail · AA-large · AAA
Aa
#ba72ac on black: 6.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7284AE
deuteranopia · #848EAA
tritanopia · #C07587

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba72ac 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
#F4ECF2
#E8D4E4
#DAB4D3
#C88EBC
#ba72ac
#A45094
#89437B
#6E3663
#512A49
#321A2E
Base = 500Lightest = 50 · #F9F5F9Darkest = 950 · #321A2E
:root {
  --brand-50: #F9F5F9;
  --brand-100: #F4ECF2;
  --brand-200: #E8D4E4;
  --brand-300: #DAB4D3;
  --brand-400: #C88EBC;
  --brand-500: #ba72ac;
  --brand-600: #A45094;
  --brand-700: #89437B;
  --brand-800: #6E3663;
  --brand-900: #512A49;
  --brand-950: #321A2E;
  --brand: #ba72ac;
  --brand-ink: #000000;
}

Colors that work with #ba72ac

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#E4C8DF
Hairlines and dividers
Muted text#9A4B8B
Captions on the surface
Accent#438D3F
Second voice, not a rival
Dark variant#562A4D
Hover, pressed, headers
Light variant#F7EEF5
Selected rows, tints
Dark surface#241421
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 #ba72ac

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#72BA80
Analogous left#A472BA
Analogous right#BA7288
Split-complement 1#88BA72
Split-complement 2#72BAA4
Triadic 1#ACBA72
Triadic 2#72ACBA
Tetradic#BAA472

RGB percentages

Red72.9%
Green44.7%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta38.7%
Yellow7.5%
Key (black)27.1%

Color previews

#ba72ac text on a black background

contrast 6.09:1

Card sample

#ba72ac text on a white background

contrast 3.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba72ac

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.

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

#ba72ac, answered

What color is #ba72ac?

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

What is the RGB value of #ba72ac?

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

Is #ba72ac a light or a dark color?

It is a mid-tone. Relative luminance is 0.2545 and perceived brightness is 57%, so black text on it reaches 6.09:1.

Should I use black or white text on #ba72ac?

Black. It scores 6.09:1 against #ba72ac, versus 3.45:1 for white — AA at any size.

What is the complementary color of #ba72ac?

#72BA80 sits directly opposite on the wheel. Softer options are the split-complements #88BA72 and #72BAA4, which give the same contrast with far less vibration.

What colors go well with #ba72ac?

For interface work: #FAF5F9 as the surface, #E4C8DF for borders, #9A4B8B for secondary text, #438D3F as an accent and #562A4D for hover and pressed states. For a palette, the analogous pair #A472BA and #BA7288 stays calm, while #72BA80 is the loudest partner.

What is #ba72ac in CMYK for printing?

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

Is #ba72ac warm or cool?

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

Work with #ba72ac in the Color Lab