Skip to content

#ba1a13

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

RGB
186, 26, 19
HSL
3°, 82%, 40%
CMYK
0, 86, 90, 27
Luminance
0.1122

At a glance

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

Hex
#ba1a13
Hue
red
Saturation
82%
electric
Lightness
40%
dark
Brightness
73%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1122
WCAG relative
Temperature
Warm
15/100 cool
Color family
Red
Tone
Electric
Best ink
White
6.47:1
Closest name
Firebrick
ΔE2000 3.5
Where it sits
Hue3° of 360°
Saturation82%
Lightness40%
Temperature
Warm ← → Cool15% 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#ba1a13
RGBrgb(186, 26, 19)
HSLhsl(3, 82%, 40%)
CMYKcmyk(0%, 86%, 90%, 27%)
LABlab(40.0 59.8 46.6)
LCHlch(40.0 75.8 37.9)
OKLCHoklch(0.505 0.193 29.0)
Decimal12196371
Display P3color(display-p3 0.729 0.102 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba1a13 on white: 6.47:1
AA ✓ pass · AA-large · AAA
Aa
#ba1a13 on black: 3.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #52480E
deuteranopia · #786A03
tritanopia · #CE001C

Color scale — 50 to 950

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

#FCF3F2
#F9E7E6
#F6C8C6
#F59D99
#EF6C66
#EA3B33
#DE1F17
#ba1a13
#94150F
#6B130F
#430C0A
Base = 700Lightest = 50 · #FCF3F2Darkest = 950 · #430C0A
:root {
  --brand-50: #FCF3F2;
  --brand-100: #F9E7E6;
  --brand-200: #F6C8C6;
  --brand-300: #F59D99;
  --brand-400: #EF6C66;
  --brand-500: #EA3B33;
  --brand-600: #DE1F17;
  --brand-700: #ba1a13;
  --brand-800: #94150F;
  --brand-900: #6B130F;
  --brand-950: #430C0A;
  --brand: #ba1a13;
  --brand-ink: #ffffff;
}

Colors that work with #ba1a13

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#FAF5F4
Tinted page background
Border#EDC2C0
Hairlines and dividers
Muted text#9B4E4B
Captions on the surface
Accent#0FBD99
Second voice, not a rival
Dark variant#74100C
Hover, pressed, headers
Light variant#FDE9E8
Selected rows, tints
Dark surface#241414
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 #ba1a13

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#13B3BA
Analogous left#BA1360
Analogous right#BA6D13
Split-complement 1#13BA6D
Split-complement 2#1360BA
Triadic 1#13BA1A
Triadic 2#1A13BA
Tetradic#60BA13

RGB percentages

Red72.9%
Green10.2%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta86.0%
Yellow89.8%
Key (black)27.1%

Color previews

#ba1a13 text on a black background

contrast 3.24:1

Card sample

#ba1a13 text on a white background

contrast 6.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba1a13

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.

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

#ba1a13, answered

What color is #ba1a13?

#ba1a13 is a dark electric red, closest to Firebrick (ΔE2000 3.5). It sits at 3° on the hue wheel with 82% saturation and 40% lightness, which reads as warm.

What is the RGB value of #ba1a13?

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

Is #ba1a13 a light or a dark color?

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

Should I use black or white text on #ba1a13?

White. It scores 6.47:1 against #ba1a13, versus 3.24:1 for black — AA at any size.

What is the complementary color of #ba1a13?

#13B3BA sits directly opposite on the wheel. Softer options are the split-complements #13BA6D and #1360BA, which give the same contrast with far less vibration.

What colors go well with #ba1a13?

For interface work: #FAF5F4 as the surface, #EDC2C0 for borders, #9B4E4B for secondary text, #0FBD99 as an accent and #74100C for hover and pressed states. For a palette, the analogous pair #BA1360 and #BA6D13 stays calm, while #13B3BA is the loudest partner.

What is #ba1a13 in CMYK for printing?

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

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

Work with #ba1a13 in the Color Lab