Skip to content

#ba8ba4

a balanced, soft magenta / pink · warm · closest name: Rosy Brown

RGB
186, 139, 164
HSL
328°, 25%, 64%
CMYK
0, 25, 12, 27
Luminance
0.3158

At a glance

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

Hex
#ba8ba4
Hue
328°
magenta / pink
Saturation
25%
soft
Lightness
64%
balanced
Brightness
73%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3158
WCAG relative
Temperature
Warm
39/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
7.32:1
Closest name
Rosy Brown
ΔE2000 9.1
Where it sits
Hue328° of 360°
Saturation25%
Lightness64%
Temperature
Warm ← → Cool39% cool

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

Every format

HEX#ba8ba4
RGBrgb(186, 139, 164)
HSLhsl(328, 25%, 64%)
CMYKcmyk(0%, 25%, 12%, 27%)
LABlab(63.0 21.9 -6.2)
LCHlch(63.0 22.7 344.2)
OKLCHoklch(0.690 0.066 345.8)
Decimal12225444
Display P3color(display-p3 0.729 0.545 0.643)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba8ba4 on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#ba8ba4 on black: 7.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8E94A5
deuteranopia · #999BA3
tritanopia · #C18B93

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba8ba4 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.

#F9F6F7
#F3EDF0
#E5D6DE
#D5B9C8
#ba8ba4
#AB7291
#995B7C
#804C68
#663D53
#4C2F3E
#2F1D27
Base = 400Lightest = 50 · #F9F6F7Darkest = 950 · #2F1D27
:root {
  --brand-50: #F9F6F7;
  --brand-100: #F3EDF0;
  --brand-200: #E5D6DE;
  --brand-300: #D5B9C8;
  --brand-400: #ba8ba4;
  --brand-500: #AB7291;
  --brand-600: #995B7C;
  --brand-700: #804C68;
  --brand-800: #663D53;
  --brand-900: #4C2F3E;
  --brand-950: #2F1D27;
  --brand: #ba8ba4;
  --brand-ink: #000000;
}

Colors that work with #ba8ba4

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#F9F5F7
Tinted page background
Border#E1CCD7
Hairlines and dividers
Muted text#905675
Captions on the surface
Accent#488455
Second voice, not a rival
Dark variant#503041
Hover, pressed, headers
Light variant#F5EFF2
Selected rows, tints
Dark surface#23151D
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 #ba8ba4

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#8BBAA1
Analogous left#B88BBA
Analogous right#BA8B8C
Split-complement 1#8CBA8B
Split-complement 2#8BBAB8
Triadic 1#A4BA8B
Triadic 2#8BA4BA
Tetradic#BAB88B

RGB percentages

Red72.9%
Green54.5%
Blue64.3%

CMYK percentages

Cyan0.0%
Magenta25.3%
Yellow11.8%
Key (black)27.1%

Color previews

#ba8ba4 text on a black background

contrast 7.32:1

Card sample

#ba8ba4 text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba8ba4

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.

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

#ba8ba4, answered

What color is #ba8ba4?

#ba8ba4 is a balanced soft magenta / pink, closest to Rosy Brown (ΔE2000 9.1). It sits at 328° on the hue wheel with 25% saturation and 64% lightness, which reads as warm.

What is the RGB value of #ba8ba4?

rgb(186, 139, 164) — 186 red, 139 green and 164 blue out of 255, or 72.9% / 54.5% / 64.3% by channel.

Is #ba8ba4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3158 and perceived brightness is 62%, so black text on it reaches 7.32:1.

Should I use black or white text on #ba8ba4?

Black. It scores 7.32:1 against #ba8ba4, versus 2.87:1 for white — AAA at any size.

What is the complementary color of #ba8ba4?

#8BBAA1 sits directly opposite on the wheel. Softer options are the split-complements #8CBA8B and #8BBAB8, which give the same contrast with far less vibration.

What colors go well with #ba8ba4?

For interface work: #F9F5F7 as the surface, #E1CCD7 for borders, #905675 for secondary text, #488455 as an accent and #503041 for hover and pressed states. For a palette, the analogous pair #B88BBA and #BA8B8C stays calm, while #8BBAA1 is the loudest partner.

What is #ba8ba4 in CMYK for printing?

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

Is #ba8ba4 warm or cool?

Warm — it scores 39 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA8B93; nudged cooler, #BC89B7.

Work with #ba8ba4 in the Color Lab