Skip to content

#ba6eb2

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

RGB
186, 110, 178
HSL
306°, 36%, 58%
CMYK
0, 41, 4, 27
Luminance
0.2481

At a glance

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

Hex
#ba6eb2
Hue
306°
magenta / pink
Saturation
36%
soft
Lightness
58%
balanced
Brightness
73%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2481
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
5.96:1
Closest name
Orchid
ΔE2000 7.5
Where it sits
Hue306° of 360°
Saturation36%
Lightness58%
Temperature
Warm ← → Cool47% 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#ba6eb2
RGBrgb(186, 110, 178)
HSLhsl(306, 36%, 58%)
CMYKcmyk(0%, 41%, 4%, 27%)
LABlab(56.9 40.3 -23.4)
LCHlch(56.9 46.6 329.8)
OKLCHoklch(0.645 0.130 330.8)
Decimal12218034
Display P3color(display-p3 0.729 0.431 0.698)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba6eb2 on white: 3.52:1
AA ✗ fail · AA-large · AAA
Aa
#ba6eb2 on black: 5.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6B82B4
deuteranopia · #7F8CB0
tritanopia · #C07388

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba6eb2 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
#F4EBF3
#E8D3E6
#DBB3D7
#C98DC2
#ba6eb2
#A64F9D
#8A4283
#6F3568
#51294D
#331A30
Base = 500Lightest = 50 · #F9F5F9Darkest = 950 · #331A30
:root {
  --brand-50: #F9F5F9;
  --brand-100: #F4EBF3;
  --brand-200: #E8D3E6;
  --brand-300: #DBB3D7;
  --brand-400: #C98DC2;
  --brand-500: #ba6eb2;
  --brand-600: #A64F9D;
  --brand-700: #8A4283;
  --brand-800: #6F3568;
  --brand-900: #51294D;
  --brand-950: #331A30;
  --brand: #ba6eb2;
  --brand-ink: #000000;
}

Colors that work with #ba6eb2

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#E5C8E2
Hairlines and dividers
Muted text#9B4B92
Captions on the surface
Accent#498E3E
Second voice, not a rival
Dark variant#562952
Hover, pressed, headers
Light variant#F7EEF6
Selected rows, tints
Dark surface#241423
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 #ba6eb2

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#6EBA76
Analogous left#9C6EBA
Analogous right#BA6E8C
Split-complement 1#8CBA6E
Split-complement 2#6EBA9C
Triadic 1#B2BA6E
Triadic 2#6EB2BA
Tetradic#BA9C6E

RGB percentages

Red72.9%
Green43.1%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta40.9%
Yellow4.3%
Key (black)27.1%

Color previews

#ba6eb2 text on a black background

contrast 5.96:1

Card sample

#ba6eb2 text on a white background

contrast 3.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba6eb2

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.

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

#ba6eb2, answered

What color is #ba6eb2?

#ba6eb2 is a balanced soft magenta / pink, closest to Orchid (ΔE2000 7.5). It sits at 306° on the hue wheel with 36% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #ba6eb2?

rgb(186, 110, 178) — 186 red, 110 green and 178 blue out of 255, or 72.9% / 43.1% / 69.8% by channel.

Is #ba6eb2 a light or a dark color?

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

Should I use black or white text on #ba6eb2?

Black. It scores 5.96:1 against #ba6eb2, versus 3.52:1 for white — AA at any size.

What is the complementary color of #ba6eb2?

#6EBA76 sits directly opposite on the wheel. Softer options are the split-complements #8CBA6E and #6EBA9C, which give the same contrast with far less vibration.

What colors go well with #ba6eb2?

For interface work: #FAF5F9 as the surface, #E5C8E2 for borders, #9B4B92 for secondary text, #498E3E as an accent and #562952 for hover and pressed states. For a palette, the analogous pair #9C6EBA and #BA6E8C stays calm, while #6EBA76 is the loudest partner.

What is #ba6eb2 in CMYK for printing?

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

Is #ba6eb2 warm or cool?

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

Work with #ba6eb2 in the Color Lab