Skip to content

#ba0049

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

RGB
186, 0, 73
HSL
337°, 100%, 37%
CMYK
0, 100, 61, 27
Luminance
0.1092

At a glance

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

Hex
#ba0049
Hue
337°
magenta / pink
Saturation
100%
electric
Lightness
37%
dark
Brightness
73%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1092
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
6.60:1
Closest name
Crimson
ΔE2000 10.9
Where it sits
Hue337° of 360°
Saturation100%
Lightness37%
Temperature
Warm ← → Cool30% 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#ba0049
RGBrgb(186, 0, 73)
HSLhsl(337, 100%, 37%)
CMYKcmyk(0%, 100%, 61%, 27%)
LABlab(39.5 65.4 14.4)
LCHlch(39.5 67.0 12.4)
OKLCHoklch(0.504 0.202 10.2)
Decimal12189769
Display P3color(display-p3 0.729 0.000 0.286)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba0049 on white: 6.60:1
AA ✓ pass · AA-large · AAA
Aa
#ba0049 on black: 3.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #46474A
deuteranopia · #716945
tritanopia · #CC0029

Color scale — 50 to 950

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

#FEF1F6
#FCE3ED
#FCC0D7
#FF8FBB
#FF5799
#FF1F76
#F50060
#ba0049
#A30040
#760531
#49031F
Base = 700Lightest = 50 · #FEF1F6Darkest = 950 · #49031F
:root {
  --brand-50: #FEF1F6;
  --brand-100: #FCE3ED;
  --brand-200: #FCC0D7;
  --brand-300: #FF8FBB;
  --brand-400: #FF5799;
  --brand-500: #FF1F76;
  --brand-600: #F50060;
  --brand-700: #ba0049;
  --brand-800: #A30040;
  --brand-900: #760531;
  --brand-950: #49031F;
  --brand: #ba0049;
  --brand-ink: #ffffff;
}

Colors that work with #ba0049

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#FAF4F7
Tinted page background
Border#EDC0D1
Hairlines and dividers
Muted text#9B4B6A
Captions on the surface
Accent#00CC49
Second voice, not a rival
Dark variant#800032
Hover, pressed, headers
Light variant#FFE5EF
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 #ba0049

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#00BA71
Analogous left#BA00A6
Analogous right#BA1400
Split-complement 1#00BA14
Split-complement 2#00A6BA
Triadic 1#49BA00
Triadic 2#0049BA
Tetradic#A6BA00

RGB percentages

Red72.9%
Green0.0%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow60.8%
Key (black)27.1%

Color previews

#ba0049 text on a black background

contrast 3.18:1

Card sample

#ba0049 text on a white background

contrast 6.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba0049

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.

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

#ba0049, answered

What color is #ba0049?

#ba0049 is a dark electric magenta / pink, closest to Crimson (ΔE2000 10.9). It sits at 337° on the hue wheel with 100% saturation and 37% lightness, which reads as warm.

What is the RGB value of #ba0049?

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

Is #ba0049 a light or a dark color?

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

Should I use black or white text on #ba0049?

White. It scores 6.60:1 against #ba0049, versus 3.18:1 for black — AA at any size.

What is the complementary color of #ba0049?

#00BA71 sits directly opposite on the wheel. Softer options are the split-complements #00BA14 and #00A6BA, which give the same contrast with far less vibration.

What colors go well with #ba0049?

For interface work: #FAF4F7 as the surface, #EDC0D1 for borders, #9B4B6A for secondary text, #00CC49 as an accent and #800032 for hover and pressed states. For a palette, the analogous pair #BA00A6 and #BA1400 stays calm, while #00BA71 is the loudest partner.

What is #ba0049 in CMYK for printing?

cmyk(0%, 100%, 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 #ba0049 warm or cool?

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

Work with #ba0049 in the Color Lab