Skip to content

#ba2c0d

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

RGB
186, 44, 13
HSL
11°, 87%, 39%
CMYK
0, 76, 93, 27
Luminance
0.1227

At a glance

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

Hex
#ba2c0d
Hue
11°
red
Saturation
87%
electric
Lightness
39%
dark
Brightness
73%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1227
WCAG relative
Temperature
Warm
11/100 cool
Color family
Red
Tone
Electric
Best ink
White
6.08:1
Closest name
Firebrick
ΔE2000 6.5
Where it sits
Hue11° of 360°
Saturation87%
Lightness39%
Temperature
Warm ← → Cool11% 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#ba2c0d
RGBrgb(186, 44, 13)
HSLhsl(11, 87%, 39%)
CMYKcmyk(0%, 76%, 93%, 27%)
LABlab(41.6 54.9 50.1)
LCHlch(41.6 74.3 42.4)
OKLCHoklch(0.518 0.183 33.1)
Decimal12200973
Display P3color(display-p3 0.729 0.173 0.051)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba2c0d on white: 6.08:1
AA ✓ pass · AA-large · AAA
Aa
#ba2c0d on black: 3.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #594E04
deuteranopia · #7C6E00
tritanopia · #CD0028

Color scale — 50 to 950

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

#FDF4F2
#FAE9E5
#F7CEC4
#F8A896
#F47C62
#F0502D
#E53610
#ba2c0d
#99240B
#6E1E0C
#451308
Base = 700Lightest = 50 · #FDF4F2Darkest = 950 · #451308
:root {
  --brand-50: #FDF4F2;
  --brand-100: #FAE9E5;
  --brand-200: #F7CEC4;
  --brand-300: #F8A896;
  --brand-400: #F47C62;
  --brand-500: #F0502D;
  --brand-600: #E53610;
  --brand-700: #ba2c0d;
  --brand-800: #99240B;
  --brand-900: #6E1E0C;
  --brand-950: #451308;
  --brand: #ba2c0d;
  --brand-ink: #ffffff;
}

Colors that work with #ba2c0d

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#EDC8C0
Hairlines and dividers
Muted text#9B594B
Captions on the surface
Accent#09C3B6
Second voice, not a rival
Dark variant#771C08
Hover, pressed, headers
Light variant#FDEBE7
Selected rows, tints
Dark surface#241714
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 #ba2c0d

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#0D9BBA
Analogous left#BA0D44
Analogous right#BA830D
Split-complement 1#0DBA83
Split-complement 2#0D44BA
Triadic 1#0DBA2C
Triadic 2#2C0DBA
Tetradic#44BA0D

RGB percentages

Red72.9%
Green17.3%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta76.3%
Yellow93.0%
Key (black)27.1%

Color previews

#ba2c0d text on a black background

contrast 3.45:1

Card sample

#ba2c0d text on a white background

contrast 6.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba2c0d

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.

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

#ba2c0d, answered

What color is #ba2c0d?

#ba2c0d is a dark electric red, closest to Firebrick (ΔE2000 6.5). It sits at 11° on the hue wheel with 87% saturation and 39% lightness, which reads as warm.

What is the RGB value of #ba2c0d?

rgb(186, 44, 13) — 186 red, 44 green and 13 blue out of 255, or 72.9% / 17.3% / 5.1% by channel.

Is #ba2c0d a light or a dark color?

It is a dark color. Relative luminance is 0.1227 and perceived brightness is 42%, so white text on it reaches 6.08:1.

Should I use black or white text on #ba2c0d?

White. It scores 6.08:1 against #ba2c0d, versus 3.45:1 for black — AA at any size.

What is the complementary color of #ba2c0d?

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

What colors go well with #ba2c0d?

For interface work: #FAF5F4 as the surface, #EDC8C0 for borders, #9B594B for secondary text, #09C3B6 as an accent and #771C08 for hover and pressed states. For a palette, the analogous pair #BA0D44 and #BA830D stays calm, while #0D9BBA is the loudest partner.

What is #ba2c0d in CMYK for printing?

cmyk(0%, 76%, 93%, 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 #ba2c0d warm or cool?

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

Work with #ba2c0d in the Color Lab