Skip to content

#ba06ad

a dark, electric magenta / pink · neutral · closest name: Dark Orchid

RGB
186, 6, 173
HSL
304°, 94%, 38%
CMYK
0, 97, 7, 27
Luminance
0.1359

At a glance

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

Hex
#ba06ad
Hue
304°
magenta / pink
Saturation
94%
electric
Lightness
38%
dark
Brightness
73%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1359
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.65:1
Closest name
Dark Orchid
ΔE2000 8.6
Where it sits
Hue304° of 360°
Saturation94%
Lightness38%
Temperature
Warm ← → Cool48% 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#ba06ad
RGBrgb(186, 6, 173)
HSLhsl(304, 94%, 38%)
CMYKcmyk(0%, 97%, 7%, 27%)
LABlab(43.6 75.1 -41.2)
LCHlch(43.6 85.7 331.2)
OKLCHoklch(0.547 0.244 332.2)
Decimal12191405
Display P3color(display-p3 0.729 0.024 0.678)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba06ad on white: 5.65:1
AA ✓ pass · AA-large · AAA
Aa
#ba06ad on black: 3.72:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0059B1
deuteranopia · #536FA9
tritanopia · #C22C65

Color scale — 50 to 950

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

#FDF2FC
#FBE4FA
#FAC2F6
#FB92F4
#FA5CEE
#F826E9
#ED08DD
#ba06ad
#9E0593
#72086A
#470542
Base = 700Lightest = 50 · #FDF2FCDarkest = 950 · #470542
:root {
  --brand-50: #FDF2FC;
  --brand-100: #FBE4FA;
  --brand-200: #FAC2F6;
  --brand-300: #FB92F4;
  --brand-400: #FA5CEE;
  --brand-500: #F826E9;
  --brand-600: #ED08DD;
  --brand-700: #ba06ad;
  --brand-800: #9E0593;
  --brand-900: #72086A;
  --brand-950: #470542;
  --brand: #ba06ad;
  --brand-ink: #ffffff;
}

Colors that work with #ba06ad

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#EDC0E9
Hairlines and dividers
Muted text#9B4B95
Captions on the surface
Accent#26CA02
Second voice, not a rival
Dark variant#7B0473
Hover, pressed, headers
Light variant#FEE6FC
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 #ba06ad

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black 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#06BA13
Analogous left#6D06BA
Analogous right#BA0653
Split-complement 1#53BA06
Split-complement 2#06BA6D
Triadic 1#ADBA06
Triadic 2#06ADBA
Tetradic#BA6D06

RGB percentages

Red72.9%
Green2.4%
Blue67.8%

CMYK percentages

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

Color previews

#ba06ad text on a black background

contrast 3.72:1

Card sample

#ba06ad text on a white background

contrast 5.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba06ad

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.

#ba06ad 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ba06ad, answered

What color is #ba06ad?

#ba06ad is a dark electric magenta / pink, closest to Dark Orchid (ΔE2000 8.6). It sits at 304° on the hue wheel with 94% saturation and 38% lightness, which reads as neutral.

What is the RGB value of #ba06ad?

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

Is #ba06ad a light or a dark color?

It is a dark color. Relative luminance is 0.1359 and perceived brightness is 46%, so white text on it reaches 5.65:1.

Should I use black or white text on #ba06ad?

White. It scores 5.65:1 against #ba06ad, versus 3.72:1 for black — AA at any size.

What is the complementary color of #ba06ad?

#06BA13 sits directly opposite on the wheel. Softer options are the split-complements #53BA06 and #06BA6D, which give the same contrast with far less vibration.

What colors go well with #ba06ad?

For interface work: #FAF4FA as the surface, #EDC0E9 for borders, #9B4B95 for secondary text, #26CA02 as an accent and #7B0473 for hover and pressed states. For a palette, the analogous pair #6D06BA and #BA0653 stays calm, while #06BA13 is the loudest partner.

What is #ba06ad in CMYK for printing?

cmyk(0%, 97%, 7%, 27%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ba06ad warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA066B; nudged cooler, #8604BC.

Work with #ba06ad in the Color Lab