Skip to content

#ba136d

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

RGB
186, 19, 109
HSL
328°, 82%, 40%
CMYK
0, 90, 41, 27
Luminance
0.1201

At a glance

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

Hex
#ba136d
Hue
328°
magenta / pink
Saturation
82%
electric
Lightness
40%
dark
Brightness
73%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1201
WCAG relative
Temperature
Warm
35/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
6.17:1
Closest name
Medium Violet Red
ΔE2000 4.9
Where it sits
Hue328° of 360°
Saturation82%
Lightness40%
Temperature
Warm ← → Cool35% 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#ba136d
RGBrgb(186, 19, 109)
HSLhsl(328, 82%, 40%)
CMYKcmyk(0%, 90%, 41%, 27%)
LABlab(41.2 66.0 -5.9)
LCHlch(41.2 66.2 354.9)
OKLCHoklch(0.520 0.204 355.9)
Decimal12194669
Display P3color(display-p3 0.729 0.075 0.427)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba136d on white: 6.17:1
AA ✓ pass · AA-large · AAA
Aa
#ba136d on black: 3.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3F4E6F
deuteranopia · #6C6C69
tritanopia · #CA0041

Color scale — 50 to 950

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

#FCF2F8
#F9E6F0
#F6C6E0
#F599CA
#EF66B0
#EA3396
#DE1782
#ba136d
#940F57
#6B0F41
#430A28
Base = 700Lightest = 50 · #FCF2F8Darkest = 950 · #430A28
:root {
  --brand-50: #FCF2F8;
  --brand-100: #F9E6F0;
  --brand-200: #F6C6E0;
  --brand-300: #F599CA;
  --brand-400: #EF66B0;
  --brand-500: #EA3396;
  --brand-600: #DE1782;
  --brand-700: #ba136d;
  --brand-800: #940F57;
  --brand-900: #6B0F41;
  --brand-950: #430A28;
  --brand: #ba136d;
  --brand-ink: #ffffff;
}

Colors that work with #ba136d

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#FAF4F8
Tinted page background
Border#EDC0D8
Hairlines and dividers
Muted text#9B4B76
Captions on the surface
Accent#0FBD34
Second voice, not a rival
Dark variant#740C44
Hover, pressed, headers
Light variant#FDE8F3
Selected rows, tints
Dark surface#24141D
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 #ba136d

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#13BA60
Analogous left#B413BA
Analogous right#BA1319
Split-complement 1#19BA13
Split-complement 2#13BAB4
Triadic 1#6DBA13
Triadic 2#136DBA
Tetradic#BAB413

RGB percentages

Red72.9%
Green7.5%
Blue42.7%

CMYK percentages

Cyan0.0%
Magenta89.8%
Yellow41.4%
Key (black)27.1%

Color previews

#ba136d text on a black background

contrast 3.40:1

Card sample

#ba136d text on a white background

contrast 6.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba136d

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.

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

#ba136d, answered

What color is #ba136d?

#ba136d is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 4.9). It sits at 328° on the hue wheel with 82% saturation and 40% lightness, which reads as warm.

What is the RGB value of #ba136d?

rgb(186, 19, 109) — 186 red, 19 green and 109 blue out of 255, or 72.9% / 7.5% / 42.7% by channel.

Is #ba136d a light or a dark color?

It is a dark color. Relative luminance is 0.1201 and perceived brightness is 43%, so white text on it reaches 6.17:1.

Should I use black or white text on #ba136d?

White. It scores 6.17:1 against #ba136d, versus 3.40:1 for black — AA at any size.

What is the complementary color of #ba136d?

#13BA60 sits directly opposite on the wheel. Softer options are the split-complements #19BA13 and #13BAB4, which give the same contrast with far less vibration.

What colors go well with #ba136d?

For interface work: #FAF4F8 as the surface, #EDC0D8 for borders, #9B4B76 for secondary text, #0FBD34 as an accent and #740C44 for hover and pressed states. For a palette, the analogous pair #B413BA and #BA1319 stays calm, while #13BA60 is the loudest partner.

What is #ba136d in CMYK for printing?

cmyk(0%, 90%, 41%, 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 #ba136d warm or cool?

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

Work with #ba136d in the Color Lab