Skip to content

#ba8fbc

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

RGB
186, 143, 188
HSL
297°, 25%, 65%
CMYK
1, 24, 0, 26
Luminance
0.3371

At a glance

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

Hex
#ba8fbc
Hue
297°
magenta / pink
Saturation
25%
soft
Lightness
65%
balanced
Brightness
74%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3371
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
7.74:1
Closest name
Plum
ΔE2000 7.8
Where it sits
Hue297° of 360°
Saturation25%
Lightness65%
Temperature
Warm ← → Cool51% 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#ba8fbc
RGBrgb(186, 143, 188)
HSLhsl(297, 25%, 65%)
CMYKcmyk(1%, 24%, 0%, 26%)
LABlab(64.7 24.0 -17.1)
LCHlch(64.7 29.5 324.5)
OKLCHoklch(0.705 0.081 324.9)
Decimal12226492
Display P3color(display-p3 0.729 0.561 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba8fbc on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#ba8fbc on black: 7.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8C9ABE
deuteranopia · #959FBA
tritanopia · #BC939F

Color scale — 50 to 950

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

#F9F6F9
#F2EDF3
#E5D7E5
#D4B9D5
#ba8fbc
#A873AB
#965C99
#7D4C80
#643D66
#4A2F4B
#2E1D2F
Base = 400Lightest = 50 · #F9F6F9Darkest = 950 · #2E1D2F
:root {
  --brand-50: #F9F6F9;
  --brand-100: #F2EDF3;
  --brand-200: #E5D7E5;
  --brand-300: #D4B9D5;
  --brand-400: #ba8fbc;
  --brand-500: #A873AB;
  --brand-600: #965C99;
  --brand-700: #7D4C80;
  --brand-800: #643D66;
  --brand-900: #4A2F4B;
  --brand-950: #2E1D2F;
  --brand: #ba8fbc;
  --brand-ink: #000000;
}

Colors that work with #ba8fbc

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#F9F5F9
Tinted page background
Border#E0CCE0
Hairlines and dividers
Muted text#8D5690
Captions on the surface
Accent#5A8448
Second voice, not a rival
Dark variant#4E3050
Hover, pressed, headers
Light variant#F5EFF5
Selected rows, tints
Dark surface#221523
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 #ba8fbc

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#91BC8F
Analogous left#A38FBC
Analogous right#BC8FA8
Split-complement 1#A8BC8F
Split-complement 2#8FBCA3
Triadic 1#BCBA8F
Triadic 2#8FBCBA
Tetradic#BCA38F

RGB percentages

Red72.9%
Green56.1%
Blue73.7%

CMYK percentages

Cyan1.1%
Magenta23.9%
Yellow0.0%
Key (black)26.3%

Color previews

#ba8fbc text on a black background

contrast 7.74:1

Card sample

#ba8fbc text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba8fbc

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.

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

#ba8fbc, answered

What color is #ba8fbc?

#ba8fbc is a balanced soft magenta / pink, closest to Plum (ΔE2000 7.8). It sits at 297° on the hue wheel with 25% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #ba8fbc?

rgb(186, 143, 188) — 186 red, 143 green and 188 blue out of 255, or 72.9% / 56.1% / 73.7% by channel.

Is #ba8fbc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3371 and perceived brightness is 64%, so black text on it reaches 7.74:1.

Should I use black or white text on #ba8fbc?

Black. It scores 7.74:1 against #ba8fbc, versus 2.71:1 for white — AAA at any size.

What is the complementary color of #ba8fbc?

#91BC8F sits directly opposite on the wheel. Softer options are the split-complements #A8BC8F and #8FBCA3, which give the same contrast with far less vibration.

What colors go well with #ba8fbc?

For interface work: #F9F5F9 as the surface, #E0CCE0 for borders, #8D5690 for secondary text, #5A8448 as an accent and #4E3050 for hover and pressed states. For a palette, the analogous pair #A38FBC and #BC8FA8 stays calm, while #91BC8F is the loudest partner.

What is #ba8fbc in CMYK for printing?

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

Is #ba8fbc warm or cool?

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

Work with #ba8fbc in the Color Lab