Skip to content

#ba2acf

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

RGB
186, 42, 207
HSL
292°, 66%, 49%
CMYK
10, 80, 0, 19
Luminance
0.1660

At a glance

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

Hex
#ba2acf
Hue
292°
magenta / pink
Saturation
66%
vivid
Lightness
49%
balanced
Brightness
81%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1660
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.86:1
Closest name
Dark Orchid
ΔE2000 6
Where it sits
Hue292° of 360°
Saturation66%
Lightness49%
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#ba2acf
RGBrgb(186, 42, 207)
HSLhsl(292, 66%, 49%)
CMYKcmyk(10%, 80%, 0%, 19%)
LABlab(47.8 74.3 -54.5)
LCHlch(47.8 92.1 323.7)
OKLCHoklch(0.583 0.248 322.1)
Decimal12200655
Display P3color(display-p3 0.729 0.165 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba2acf on white: 4.86:1
AA ✓ pass · AA-large · AAA
Aa
#ba2acf on black: 4.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067D3
deuteranopia · #4476CB
tritanopia · #BC4D7E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba2acf 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
#F6E8F8
#ECCBF1
#E3A2EC
#D573E3
#C644D9
#ba2acf
#9822AA
#7A1B88
#591863
#380F3E
Base = 600Lightest = 50 · #FAF3FBDarkest = 950 · #380F3E
:root {
  --brand-50: #FAF3FB;
  --brand-100: #F6E8F8;
  --brand-200: #ECCBF1;
  --brand-300: #E3A2EC;
  --brand-400: #D573E3;
  --brand-500: #C644D9;
  --brand-600: #ba2acf;
  --brand-700: #9822AA;
  --brand-800: #7A1B88;
  --brand-900: #591863;
  --brand-950: #380F3E;
  --brand: #ba2acf;
  --brand-ink: #ffffff;
}

Colors that work with #ba2acf

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#914B9B
Captions on the surface
Accent#54AE1E
Second voice, not a rival
Dark variant#5F156A
Hover, pressed, headers
Light variant#F9EAFB
Selected rows, tints
Dark surface#221424
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 #ba2acf

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#3FCF2A
Analogous left#682ACF
Analogous right#CF2A91
Split-complement 1#91CF2A
Split-complement 2#2ACF68
Triadic 1#CFBA2A
Triadic 2#2ACFBA
Tetradic#CF682A

RGB percentages

Red72.9%
Green16.5%
Blue81.2%

CMYK percentages

Cyan10.1%
Magenta79.7%
Yellow0.0%
Key (black)18.8%

Color previews

#ba2acf text on a black background

contrast 4.32:1

Card sample

#ba2acf text on a white background

contrast 4.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba2acf

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.

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

#ba2acf, answered

What color is #ba2acf?

#ba2acf is a balanced vivid magenta / pink, closest to Dark Orchid (ΔE2000 6). It sits at 292° on the hue wheel with 66% saturation and 49% lightness, which reads as neutral.

What is the RGB value of #ba2acf?

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

Is #ba2acf a light or a dark color?

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

Should I use black or white text on #ba2acf?

White. It scores 4.86:1 against #ba2acf, versus 4.32:1 for black — AA at any size.

What is the complementary color of #ba2acf?

#3FCF2A sits directly opposite on the wheel. Softer options are the split-complements #91CF2A and #2ACF68, which give the same contrast with far less vibration.

What colors go well with #ba2acf?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #54AE1E as an accent and #5F156A for hover and pressed states. For a palette, the analogous pair #682ACF and #CF2A91 stays calm, while #3FCF2A is the loudest partner.

What is #ba2acf in CMYK for printing?

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

Is #ba2acf 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 #CF2AA7; nudged cooler, #7E27D1.

Work with #ba2acf in the Color Lab