Skip to content

#ba97ad

a light, soft magenta / pink · neutral · closest name: Rosy Brown

RGB
186, 151, 173
HSL
322°, 20%, 66%
CMYK
0, 19, 7, 27
Luminance
0.3559

At a glance

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

Hex
#ba97ad
Hue
322°
magenta / pink
Saturation
20%
soft
Lightness
66%
light
Brightness
73%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3559
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
8.12:1
Closest name
Rosy Brown
ΔE2000 9.2
Where it sits
Hue322° of 360°
Saturation20%
Lightness66%
Temperature
Warm ← → Cool43% 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#ba97ad
RGBrgb(186, 151, 173)
HSLhsl(322, 20%, 66%)
CMYKcmyk(0%, 19%, 7%, 27%)
LABlab(66.2 16.8 -6.5)
LCHlch(66.2 18.0 338.7)
OKLCHoklch(0.715 0.051 340.4)
Decimal12228525
Display P3color(display-p3 0.729 0.592 0.678)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba97ad on white: 2.59:1
AA ✗ fail · AA-large · AAA
Aa
#ba97ad on black: 8.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #989EAE
deuteranopia · #A0A3AC
tritanopia · #BF979E

Color scale — 50 to 950

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

#F9F6F8
#F2EDF0
#E4D8DF
#D2BCCA
#ba97ad
#A57895
#936281
#7B516B
#624156
#493240
#2D1F28
Base = 400Lightest = 50 · #F9F6F8Darkest = 950 · #2D1F28
:root {
  --brand-50: #F9F6F8;
  --brand-100: #F2EDF0;
  --brand-200: #E4D8DF;
  --brand-300: #D2BCCA;
  --brand-400: #ba97ad;
  --brand-500: #A57895;
  --brand-600: #936281;
  --brand-700: #7B516B;
  --brand-800: #624156;
  --brand-900: #493240;
  --brand-950: #2D1F28;
  --brand: #ba97ad;
  --brand-ink: #000000;
}

Colors that work with #ba97ad

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#F9F6F8
Tinted page background
Border#DECED8
Hairlines and dividers
Muted text#8A5C79
Captions on the surface
Accent#4E7E54
Second voice, not a rival
Dark variant#4D3343
Hover, pressed, headers
Light variant#F5F0F3
Selected rows, tints
Dark surface#22161E
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 #ba97ad

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • 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#97BAA4
Analogous left#B697BA
Analogous right#BA979C
Split-complement 1#9CBA97
Split-complement 2#97BAB6
Triadic 1#ADBA97
Triadic 2#97ADBA
Tetradic#BAB697

RGB percentages

Red72.9%
Green59.2%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow7.0%
Key (black)27.1%

Color previews

#ba97ad text on a black background

contrast 8.12:1

Card sample

#ba97ad text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba97ad

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.

#ba97ad 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#ba97ad, answered

What color is #ba97ad?

#ba97ad is a light soft magenta / pink, closest to Rosy Brown (ΔE2000 9.2). It sits at 322° on the hue wheel with 20% saturation and 66% lightness, which reads as neutral.

What is the RGB value of #ba97ad?

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

Is #ba97ad a light or a dark color?

It is a mid-tone. Relative luminance is 0.3559 and perceived brightness is 65%, so black text on it reaches 8.12:1.

Should I use black or white text on #ba97ad?

Black. It scores 8.12:1 against #ba97ad, versus 2.59:1 for white — AAA at any size.

What is the complementary color of #ba97ad?

#97BAA4 sits directly opposite on the wheel. Softer options are the split-complements #9CBA97 and #97BAB6, which give the same contrast with far less vibration.

What colors go well with #ba97ad?

For interface work: #F9F6F8 as the surface, #DECED8 for borders, #8A5C79 for secondary text, #4E7E54 as an accent and #4D3343 for hover and pressed states. For a palette, the analogous pair #B697BA and #BA979C stays calm, while #97BAA4 is the loudest partner.

What is #ba97ad in CMYK for printing?

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

Is #ba97ad warm or cool?

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

Work with #ba97ad in the Color Lab