Skip to content

#ba1639

a dark, electric red · warm · closest name: Brown

RGB
186, 22, 57
HSL
347°, 79%, 41%
CMYK
0, 88, 69, 27
Luminance
0.1131

At a glance

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

Hex
#ba1639
Hue
347°
red
Saturation
79%
electric
Lightness
41%
dark
Brightness
73%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1131
WCAG relative
Temperature
Warm
24/100 cool
Color family
Red
Tone
Electric
Best ink
White
6.44:1
Closest name
Brown
ΔE2000 6.4
Where it sits
Hue347° of 360°
Saturation79%
Lightness41%
Temperature
Warm ← → Cool24% 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#ba1639
RGBrgb(186, 22, 57)
HSLhsl(347, 79%, 41%)
CMYKcmyk(0%, 88%, 69%, 27%)
LABlab(40.1 61.8 25.4)
LCHlch(40.1 66.8 22.4)
OKLCHoklch(0.508 0.193 17.9)
Decimal12195385
Display P3color(display-p3 0.729 0.086 0.224)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba1639 on white: 6.44:1
AA ✓ pass · AA-large · AAA
Aa
#ba1639 on black: 3.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D4939
deuteranopia · #756A34
tritanopia · #CD0027

Color scale — 50 to 950

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

#FCF3F5
#F9E6EA
#F5C7D1
#F39BAE
#ED6985
#E7365C
#DB1A43
#ba1639
#92112D
#6A1124
#420B16
Base = 700Lightest = 50 · #FCF3F5Darkest = 950 · #420B16
:root {
  --brand-50: #FCF3F5;
  --brand-100: #F9E6EA;
  --brand-200: #F5C7D1;
  --brand-300: #F39BAE;
  --brand-400: #ED6985;
  --brand-500: #E7365C;
  --brand-600: #DB1A43;
  --brand-700: #ba1639;
  --brand-800: #92112D;
  --brand-900: #6A1124;
  --brand-950: #420B16;
  --brand: #ba1639;
  --brand-ink: #ffffff;
}

Colors that work with #ba1639

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#EDC0C9
Hairlines and dividers
Muted text#9B4B5C
Captions on the surface
Accent#12BA6C
Second voice, not a rival
Dark variant#720E23
Hover, pressed, headers
Light variant#FCE8EC
Selected rows, tints
Dark surface#241417
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 #ba1639

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#16BA97
Analogous left#BA168B
Analogous right#BA4516
Split-complement 1#16BA45
Split-complement 2#168BBA
Triadic 1#39BA16
Triadic 2#1639BA
Tetradic#8BBA16

RGB percentages

Red72.9%
Green8.6%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta88.2%
Yellow69.4%
Key (black)27.1%

Color previews

#ba1639 text on a black background

contrast 3.26:1

Card sample

#ba1639 text on a white background

contrast 6.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba1639

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.

#ba1639 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ba1639, answered

What color is #ba1639?

#ba1639 is a dark electric red, closest to Brown (ΔE2000 6.4). It sits at 347° on the hue wheel with 79% saturation and 41% lightness, which reads as warm.

What is the RGB value of #ba1639?

rgb(186, 22, 57) — 186 red, 22 green and 57 blue out of 255, or 72.9% / 8.6% / 22.4% by channel.

Is #ba1639 a light or a dark color?

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

Should I use black or white text on #ba1639?

White. It scores 6.44:1 against #ba1639, versus 3.26:1 for black — AA at any size.

What is the complementary color of #ba1639?

#16BA97 sits directly opposite on the wheel. Softer options are the split-complements #16BA45 and #168BBA, which give the same contrast with far less vibration.

What colors go well with #ba1639?

For interface work: #FAF4F6 as the surface, #EDC0C9 for borders, #9B4B5C for secondary text, #12BA6C as an accent and #720E23 for hover and pressed states. For a palette, the analogous pair #BA168B and #BA4516 stays calm, while #16BA97 is the loudest partner.

What is #ba1639 in CMYK for printing?

cmyk(0%, 88%, 69%, 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 #ba1639 warm or cool?

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

Work with #ba1639 in the Color Lab