Skip to content

#ba2191

a dark, vivid magenta / pink · warm · closest name: Medium Violet Red

RGB
186, 33, 145
HSL
316°, 70%, 43%
CMYK
0, 82, 22, 27
Luminance
0.1357

At a glance

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

Hex
#ba2191
Hue
316°
magenta / pink
Saturation
70%
vivid
Lightness
43%
dark
Brightness
73%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1357
WCAG relative
Temperature
Warm
41/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.65:1
Closest name
Medium Violet Red
ΔE2000 4
Where it sits
Hue316° of 360°
Saturation70%
Lightness43%
Temperature
Warm ← → Cool41% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ba2191
RGBrgb(186, 33, 145)
HSLhsl(316, 70%, 43%)
CMYKcmyk(0%, 82%, 22%, 27%)
LABlab(43.6 67.2 -24.5)
LCHlch(43.6 71.5 340.0)
OKLCHoklch(0.542 0.213 342.0)
Decimal12198289
Display P3color(display-p3 0.729 0.129 0.569)

Copy-ready code

/* CSS */
color: #ba2191;
background-color: #ba2191;
/* Tailwind (arbitrary) */
class="text-[#ba2191] bg-[#ba2191]"
/* SCSS */
$brand: #ba2191;
/* SwiftUI */
Color(red: 0.729, green: 0.129, blue: 0.569)
/* Android */
Color.parseColor("#ba2191")
/* Flutter */
Color(0xFFBA2191)
/* Python / OpenCV (BGR) */
(145, 33, 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 #ba2191 · 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.71:1
AA fail · AA large pass · AAA fail
Reading the other direction: #ba2191 as text scores 5.65:1 on white and 3.71:1 on black.

Accessibility — WCAG contrast

Aa
#ba2191 on white: 5.65:1
AA ✓ pass · AA-large · AAA
Aa
#ba2191 on black: 3.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #335794
deuteranopia · #65708E
tritanopia · #C62459

Color scale — 50 to 950

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

#FCF3F9
#F8E7F4
#F2C9E7
#EEA0D9
#E670C6
#DD40B3
#D025A2
#ba2191
#8B196C
#65164F
#3F0E32
Base = 700Lightest = 50 · #FCF3F9Darkest = 950 · #3F0E32
:root {
  --brand-50: #FCF3F9;
  --brand-100: #F8E7F4;
  --brand-200: #F2C9E7;
  --brand-300: #EEA0D9;
  --brand-400: #E670C6;
  --brand-500: #DD40B3;
  --brand-600: #D025A2;
  --brand-700: #ba2191;
  --brand-800: #8B196C;
  --brand-900: #65164F;
  --brand-950: #3F0E32;
  --brand: #ba2191;
  --brand-ink: #ffffff;
}

Colors that work with #ba2191

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#FAF4F9
Tinted page background
Border#EDC0E1
Hairlines and dividers
Muted text#9B4B85
Captions on the surface
Accent#1BB11E
Second voice, not a rival
Dark variant#6C1354
Hover, pressed, headers
Light variant#FBE9F6
Selected rows, tints
Dark surface#241420
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 #ba2191

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#21BA4A
Analogous left#9621BA
Analogous right#BA2144
Split-complement 1#44BA21
Split-complement 2#21BA96
Triadic 1#91BA21
Triadic 2#2191BA
Tetradic#BA9621

RGB percentages

Red72.9%
Green12.9%
Blue56.9%

CMYK percentages

Cyan0.0%
Magenta82.3%
Yellow22.0%
Key (black)27.1%

Color previews

#ba2191 text on a black background

contrast 3.71:1

Card sample

#ba2191 text on a white background

contrast 5.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba2191

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.

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

#ba2191, answered

What color is #ba2191?

#ba2191 is a dark vivid magenta / pink, closest to Medium Violet Red (ΔE2000 4). It sits at 316° on the hue wheel with 70% saturation and 43% lightness, which reads as warm.

What is the RGB value of #ba2191?

rgb(186, 33, 145) — 186 red, 33 green and 145 blue out of 255, or 72.9% / 12.9% / 56.9% by channel.

Is #ba2191 a light or a dark color?

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

Should I use black or white text on #ba2191?

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

What is the complementary color of #ba2191?

#21BA4A sits directly opposite on the wheel. Softer options are the split-complements #44BA21 and #21BA96, which give the same contrast with far less vibration.

What colors go well with #ba2191?

For interface work: #FAF4F9 as the surface, #EDC0E1 for borders, #9B4B85 for secondary text, #1BB11E as an accent and #6C1354 for hover and pressed states. For a palette, the analogous pair #9621BA and #BA2144 stays calm, while #21BA4A is the loudest partner.

What is #ba2191 in CMYK for printing?

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

Is #ba2191 warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA2159; nudged cooler, #AD1FBC.

Work with #ba2191 in the Color Lab