Skip to content

#ba9aaa

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

RGB
186, 154, 170
HSL
330°, 19%, 67%
CMYK
0, 17, 9, 27
Luminance
0.3645

At a glance

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

Hex
#ba9aaa
Hue
330°
magenta / pink
Saturation
19%
soft
Lightness
67%
light
Brightness
73%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3645
WCAG relative
Temperature
Warm
41/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
8.29:1
Closest name
Rosy Brown
ΔE2000 7.9
Where it sits
Hue330° of 360°
Saturation19%
Lightness67%
Temperature
Warm ← → Cool41% 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#ba9aaa
RGBrgb(186, 154, 170)
HSLhsl(330, 19%, 67%)
CMYKcmyk(0%, 17%, 9%, 27%)
LABlab(66.9 14.6 -3.9)
LCHlch(66.9 15.1 345.1)
OKLCHoklch(0.720 0.044 346.7)
Decimal12229290
Display P3color(display-p3 0.729 0.604 0.667)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba9aaa on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#ba9aaa on black: 8.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9CA0AB
deuteranopia · #A3A5A9
tritanopia · #BF9A9F

Color scale — 50 to 950

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

#F8F6F7
#F2EDF0
#E3D8DE
#D1BCC7
#ba9aaa
#A47A8F
#91637A
#795366
#614252
#48333D
#2D2026
Base = 400Lightest = 50 · #F8F6F7Darkest = 950 · #2D2026
:root {
  --brand-50: #F8F6F7;
  --brand-100: #F2EDF0;
  --brand-200: #E3D8DE;
  --brand-300: #D1BCC7;
  --brand-400: #ba9aaa;
  --brand-500: #A47A8F;
  --brand-600: #91637A;
  --brand-700: #795366;
  --brand-800: #614252;
  --brand-900: #48333D;
  --brand-950: #2D2026;
  --brand: #ba9aaa;
  --brand-ink: #000000;
}

Colors that work with #ba9aaa

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#F9F6F7
Tinted page background
Border#DECFD6
Hairlines and dividers
Muted text#885D73
Captions on the surface
Accent#4F7D5A
Second voice, not a rival
Dark variant#4C3440
Hover, pressed, headers
Light variant#F5F0F2
Selected rows, tints
Dark surface#21171C
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 #ba9aaa

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#9ABAAA
Analogous left#BA9ABA
Analogous right#BA9A9A
Split-complement 1#9ABA9A
Split-complement 2#9ABABA
Triadic 1#AABA9A
Triadic 2#9AAABA
Tetradic#BABA9A

RGB percentages

Red72.9%
Green60.4%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta17.2%
Yellow8.6%
Key (black)27.1%

Color previews

#ba9aaa text on a black background

contrast 8.29:1

Card sample

#ba9aaa text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba9aaa

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.

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

#ba9aaa, answered

What color is #ba9aaa?

#ba9aaa is a light soft magenta / pink, closest to Rosy Brown (ΔE2000 7.9). It sits at 330° on the hue wheel with 19% saturation and 67% lightness, which reads as warm.

What is the RGB value of #ba9aaa?

rgb(186, 154, 170) — 186 red, 154 green and 170 blue out of 255, or 72.9% / 60.4% / 66.7% by channel.

Is #ba9aaa a light or a dark color?

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

Should I use black or white text on #ba9aaa?

Black. It scores 8.29:1 against #ba9aaa, versus 2.53:1 for white — AAA at any size.

What is the complementary color of #ba9aaa?

#9ABAAA sits directly opposite on the wheel. Softer options are the split-complements #9ABA9A and #9ABABA, which give the same contrast with far less vibration.

What colors go well with #ba9aaa?

For interface work: #F9F6F7 as the surface, #DECFD6 for borders, #885D73 for secondary text, #4F7D5A as an accent and #4C3440 for hover and pressed states. For a palette, the analogous pair #BA9ABA and #BA9A9A stays calm, while #9ABAAA is the loudest partner.

What is #ba9aaa in CMYK for printing?

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

Is #ba9aaa warm or cool?

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

Work with #ba9aaa in the Color Lab