Skip to content

#ba0b49

a dark, electric magenta / pink · warm · closest name: Crimson

RGB
186, 11, 73
HSL
339°, 89%, 39%
CMYK
0, 94, 61, 27
Luminance
0.1116

At a glance

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

Hex
#ba0b49
Hue
339°
magenta / pink
Saturation
89%
electric
Lightness
39%
dark
Brightness
73%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1116
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
6.50:1
Closest name
Crimson
ΔE2000 10.4
Where it sits
Hue339° of 360°
Saturation89%
Lightness39%
Temperature
Warm ← → Cool28% 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#ba0b49
RGBrgb(186, 11, 73)
HSLhsl(339, 89%, 39%)
CMYKcmyk(0%, 94%, 61%, 27%)
LABlab(39.9 64.3 15.0)
LCHlch(39.9 66.0 13.1)
OKLCHoklch(0.507 0.198 10.8)
Decimal12192585
Display P3color(display-p3 0.729 0.043 0.286)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba0b49 on white: 6.50:1
AA ✓ pass · AA-large · AAA
Aa
#ba0b49 on black: 3.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #48484A
deuteranopia · #726A45
tritanopia · #CC002C

Color scale — 50 to 950

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

#FDF2F6
#FBE5ED
#F8C4D6
#F995B8
#F66095
#F22B72
#E70E5B
#ba0b49
#9A093D
#6F0B2F
#45071D
Base = 700Lightest = 50 · #FDF2F6Darkest = 950 · #45071D
:root {
  --brand-50: #FDF2F6;
  --brand-100: #FBE5ED;
  --brand-200: #F8C4D6;
  --brand-300: #F995B8;
  --brand-400: #F66095;
  --brand-500: #F22B72;
  --brand-600: #E70E5B;
  --brand-700: #ba0b49;
  --brand-800: #9A093D;
  --brand-900: #6F0B2F;
  --brand-950: #45071D;
  --brand: #ba0b49;
  --brand-ink: #ffffff;
}

Colors that work with #ba0b49

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#FAF4F6
Tinted page background
Border#EDC0D0
Hairlines and dividers
Muted text#9B4B67
Captions on the surface
Accent#07C552
Second voice, not a rival
Dark variant#78072F
Hover, pressed, headers
Light variant#FEE7EF
Selected rows, tints
Dark surface#24141A
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 #ba0b49

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#0BBA7C
Analogous left#BA0BA0
Analogous right#BA240B
Split-complement 1#0BBA24
Split-complement 2#0BA0BA
Triadic 1#49BA0B
Triadic 2#0B49BA
Tetradic#A0BA0B

RGB percentages

Red72.9%
Green4.3%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta94.1%
Yellow60.8%
Key (black)27.1%

Color previews

#ba0b49 text on a black background

contrast 3.23:1

Card sample

#ba0b49 text on a white background

contrast 6.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba0b49

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.

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

#ba0b49, answered

What color is #ba0b49?

#ba0b49 is a dark electric magenta / pink, closest to Crimson (ΔE2000 10.4). It sits at 339° on the hue wheel with 89% saturation and 39% lightness, which reads as warm.

What is the RGB value of #ba0b49?

rgb(186, 11, 73) — 186 red, 11 green and 73 blue out of 255, or 72.9% / 4.3% / 28.6% by channel.

Is #ba0b49 a light or a dark color?

It is a dark color. Relative luminance is 0.1116 and perceived brightness is 41%, so white text on it reaches 6.50:1.

Should I use black or white text on #ba0b49?

White. It scores 6.50:1 against #ba0b49, versus 3.23:1 for black — AA at any size.

What is the complementary color of #ba0b49?

#0BBA7C sits directly opposite on the wheel. Softer options are the split-complements #0BBA24 and #0BA0BA, which give the same contrast with far less vibration.

What colors go well with #ba0b49?

For interface work: #FAF4F6 as the surface, #EDC0D0 for borders, #9B4B67 for secondary text, #07C552 as an accent and #78072F for hover and pressed states. For a palette, the analogous pair #BA0BA0 and #BA240B stays calm, while #0BBA7C is the loudest partner.

What is #ba0b49 in CMYK for printing?

cmyk(0%, 94%, 61%, 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 #ba0b49 warm or cool?

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

Work with #ba0b49 in the Color Lab