Skip to content

#ba2bcb

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

RGB
186, 43, 203
HSL
294°, 65%, 48%
CMYK
8, 79, 0, 20
Luminance
0.1648

At a glance

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

Hex
#ba2bcb
Hue
294°
magenta / pink
Saturation
65%
vivid
Lightness
48%
balanced
Brightness
80%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1648
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.89:1
Closest name
Dark Orchid
ΔE2000 6.2
Where it sits
Hue294° of 360°
Saturation65%
Lightness48%
Temperature
Warm ← → Cool54% 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#ba2bcb
RGBrgb(186, 43, 203)
HSLhsl(294, 65%, 48%)
CMYKcmyk(8%, 79%, 0%, 20%)
LABlab(47.6 73.3 -52.5)
LCHlch(47.6 90.2 324.4)
OKLCHoklch(0.581 0.245 323.2)
Decimal12200907
Display P3color(display-p3 0.729 0.169 0.796)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba2bcb on white: 4.89:1
AA ✓ pass · AA-large · AAA
Aa
#ba2bcb on black: 4.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067CF
deuteranopia · #4876C7
tritanopia · #BD4C7C

Color scale — 50 to 950

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

#FAF3FB
#F6E8F7
#EDCBF1
#E4A2EB
#D674E2
#C846D8
#ba2bcb
#9A24A8
#7B1D87
#5A1962
#380F3D
Base = 600Lightest = 50 · #FAF3FBDarkest = 950 · #380F3D
:root {
  --brand-50: #FAF3FB;
  --brand-100: #F6E8F7;
  --brand-200: #EDCBF1;
  --brand-300: #E4A2EB;
  --brand-400: #D674E2;
  --brand-500: #C846D8;
  --brand-600: #ba2bcb;
  --brand-700: #9A24A8;
  --brand-800: #7B1D87;
  --brand-900: #5A1962;
  --brand-950: #380F3D;
  --brand: #ba2bcb;
  --brand-ink: #ffffff;
}

Colors that work with #ba2bcb

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#E8C0ED
Hairlines and dividers
Muted text#924B9B
Captions on the surface
Accent#52AC20
Second voice, not a rival
Dark variant#601669
Hover, pressed, headers
Light variant#F9EAFB
Selected rows, tints
Dark surface#231424
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 #ba2bcb

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
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#3CCB2B
Analogous left#6A2BCB
Analogous right#CB2B8C
Split-complement 1#8CCB2B
Split-complement 2#2BCB6A
Triadic 1#CBBA2B
Triadic 2#2BCBBA
Tetradic#CB6A2B

RGB percentages

Red72.9%
Green16.9%
Blue79.6%

CMYK percentages

Cyan8.4%
Magenta78.8%
Yellow0.0%
Key (black)20.4%

Color previews

#ba2bcb text on a black background

contrast 4.30:1

Card sample

#ba2bcb text on a white background

contrast 4.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba2bcb

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.

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

#ba2bcb, answered

What color is #ba2bcb?

#ba2bcb is a balanced vivid magenta / pink, closest to Dark Orchid (ΔE2000 6.2). It sits at 294° on the hue wheel with 65% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #ba2bcb?

rgb(186, 43, 203) — 186 red, 43 green and 203 blue out of 255, or 72.9% / 16.9% / 79.6% by channel.

Is #ba2bcb a light or a dark color?

It is a dark color. Relative luminance is 0.1648 and perceived brightness is 50%, so white text on it reaches 4.89:1.

Should I use black or white text on #ba2bcb?

White. It scores 4.89:1 against #ba2bcb, versus 4.30:1 for black — AA at any size.

What is the complementary color of #ba2bcb?

#3CCB2B sits directly opposite on the wheel. Softer options are the split-complements #8CCB2B and #2BCB6A, which give the same contrast with far less vibration.

What colors go well with #ba2bcb?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #924B9B for secondary text, #52AC20 as an accent and #601669 for hover and pressed states. For a palette, the analogous pair #6A2BCB and #CB2B8C stays calm, while #3CCB2B is the loudest partner.

What is #ba2bcb in CMYK for printing?

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

Is #ba2bcb warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CB2BA1; nudged cooler, #7F29CD.

Work with #ba2bcb in the Color Lab