Skip to content

#ba19cf

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

RGB
186, 25, 207
HSL
293°, 78%, 46%
CMYK
10, 88, 0, 19
Luminance
0.1564

At a glance

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

Hex
#ba19cf
Hue
293°
magenta / pink
Saturation
78%
electric
Lightness
46%
balanced
Brightness
81%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1564
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.09:1
Closest name
Dark Orchid
ΔE2000 5.5
Where it sits
Hue293° of 360°
Saturation78%
Lightness46%
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#ba19cf
RGBrgb(186, 25, 207)
HSLhsl(293, 78%, 46%)
CMYKcmyk(10%, 88%, 0%, 19%)
LABlab(46.5 77.9 -56.5)
LCHlch(46.5 96.3 324.0)
OKLCHoklch(0.574 0.260 322.4)
Decimal12196303
Display P3color(display-p3 0.729 0.098 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba19cf on white: 5.09:1
AA ✓ pass · AA-large · AAA
Aa
#ba19cf on black: 4.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0063D3
deuteranopia · #3D74CB
tritanopia · #BC477B

Color scale — 50 to 950

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

#FBF3FC
#F7E6F9
#EFC7F5
#E99BF3
#DE69ED
#D337E7
#ba19cf
#A416B6
#831292
#5F1169
#3B0B42
Base = 600Lightest = 50 · #FBF3FCDarkest = 950 · #3B0B42
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F7E6F9;
  --brand-200: #EFC7F5;
  --brand-300: #E99BF3;
  --brand-400: #DE69ED;
  --brand-500: #D337E7;
  --brand-600: #ba19cf;
  --brand-700: #A416B6;
  --brand-800: #831292;
  --brand-900: #5F1169;
  --brand-950: #3B0B42;
  --brand: #ba19cf;
  --brand-ink: #ffffff;
}

Colors that work with #ba19cf

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#E7C0ED
Hairlines and dividers
Muted text#924B9B
Captions on the surface
Accent#4FBA12
Second voice, not a rival
Dark variant#660E72
Hover, pressed, headers
Light variant#FAE8FC
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 #ba19cf

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#2ECF19
Analogous left#5F19CF
Analogous right#CF1989
Split-complement 1#89CF19
Split-complement 2#19CF5F
Triadic 1#CFBA19
Triadic 2#19CFBA
Tetradic#CF5F19

RGB percentages

Red72.9%
Green9.8%
Blue81.2%

CMYK percentages

Cyan10.1%
Magenta87.9%
Yellow0.0%
Key (black)18.8%

Color previews

#ba19cf text on a black background

contrast 4.13:1

Card sample

#ba19cf text on a white background

contrast 5.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba19cf

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.

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

#ba19cf, answered

What color is #ba19cf?

#ba19cf is a balanced electric magenta / pink, closest to Dark Orchid (ΔE2000 5.5). It sits at 293° on the hue wheel with 78% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #ba19cf?

rgb(186, 25, 207) — 186 red, 25 green and 207 blue out of 255, or 72.9% / 9.8% / 81.2% by channel.

Is #ba19cf a light or a dark color?

It is a dark color. Relative luminance is 0.1564 and perceived brightness is 49%, so white text on it reaches 5.09:1.

Should I use black or white text on #ba19cf?

White. It scores 5.09:1 against #ba19cf, versus 4.13:1 for black — AA at any size.

What is the complementary color of #ba19cf?

#2ECF19 sits directly opposite on the wheel. Softer options are the split-complements #89CF19 and #19CF5F, which give the same contrast with far less vibration.

What colors go well with #ba19cf?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #924B9B for secondary text, #4FBA12 as an accent and #660E72 for hover and pressed states. For a palette, the analogous pair #5F19CF and #CF1989 stays calm, while #2ECF19 is the loudest partner.

What is #ba19cf in CMYK for printing?

cmyk(10%, 88%, 0%, 19%). 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 #ba19cf 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 #CF19A1; nudged cooler, #7717D1.

Work with #ba19cf in the Color Lab