Skip to content

#ba2011

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

RGB
186, 32, 17
HSL
5°, 83%, 40%
CMYK
0, 83, 91, 27
Luminance
0.1151

At a glance

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

Hex
#ba2011
Hue
red
Saturation
83%
electric
Lightness
40%
dark
Brightness
73%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1151
WCAG relative
Temperature
Warm
14/100 cool
Color family
Red
Tone
Electric
Best ink
White
6.36:1
Closest name
Firebrick
ΔE2000 4.3
Where it sits
Hue5° of 360°
Saturation83%
Lightness40%
Temperature
Warm ← → Cool14% 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#ba2011
RGBrgb(186, 32, 17)
HSLhsl(5, 83%, 40%)
CMYKcmyk(0%, 83%, 91%, 27%)
LABlab(40.4 58.4 47.8)
LCHlch(40.4 75.4 39.3)
OKLCHoklch(0.509 0.190 30.2)
Decimal12197905
Display P3color(display-p3 0.729 0.125 0.067)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba2011 on white: 6.36:1
AA ✓ pass · AA-large · AAA
Aa
#ba2011 on black: 3.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #544A0B
deuteranopia · #796B01
tritanopia · #CE001F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba2011 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
#FAE7E6
#F6CAC6
#F6A098
#F17165
#EC4231
#E02614
#ba2011
#961A0E
#6C170E
#440E09
Base = 700Lightest = 50 · #FCF3F2Darkest = 950 · #440E09
:root {
  --brand-50: #FCF3F2;
  --brand-100: #FAE7E6;
  --brand-200: #F6CAC6;
  --brand-300: #F6A098;
  --brand-400: #F17165;
  --brand-500: #EC4231;
  --brand-600: #E02614;
  --brand-700: #ba2011;
  --brand-800: #961A0E;
  --brand-900: #6C170E;
  --brand-950: #440E09;
  --brand: #ba2011;
  --brand-ink: #ffffff;
}

Colors that work with #ba2011

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#EDC4C0
Hairlines and dividers
Muted text#9B524B
Captions on the surface
Accent#0DBFA2
Second voice, not a rival
Dark variant#75140B
Hover, pressed, headers
Light variant#FDEAE8
Selected rows, tints
Dark surface#241514
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 #ba2011

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#11ABBA
Analogous left#BA1157
Analogous right#BA7411
Split-complement 1#11BA74
Split-complement 2#1157BA
Triadic 1#11BA20
Triadic 2#2011BA
Tetradic#57BA11

RGB percentages

Red72.9%
Green12.5%
Blue6.7%

CMYK percentages

Cyan0.0%
Magenta82.8%
Yellow90.9%
Key (black)27.1%

Color previews

#ba2011 text on a black background

contrast 3.30:1

Card sample

#ba2011 text on a white background

contrast 6.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba2011

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.

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

#ba2011, answered

What color is #ba2011?

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

What is the RGB value of #ba2011?

rgb(186, 32, 17) — 186 red, 32 green and 17 blue out of 255, or 72.9% / 12.5% / 6.7% by channel.

Is #ba2011 a light or a dark color?

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

Should I use black or white text on #ba2011?

White. It scores 6.36:1 against #ba2011, versus 3.30:1 for black — AA at any size.

What is the complementary color of #ba2011?

#11ABBA sits directly opposite on the wheel. Softer options are the split-complements #11BA74 and #1157BA, which give the same contrast with far less vibration.

What colors go well with #ba2011?

For interface work: #FAF5F4 as the surface, #EDC4C0 for borders, #9B524B for secondary text, #0DBFA2 as an accent and #75140B for hover and pressed states. For a palette, the analogous pair #BA1157 and #BA7411 stays calm, while #11ABBA is the loudest partner.

What is #ba2011 in CMYK for printing?

cmyk(0%, 83%, 91%, 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 #ba2011 warm or cool?

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

Work with #ba2011 in the Color Lab