Skip to content

#ba080a

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

RGB
186, 8, 10
HSL
359°, 92%, 38%
CMYK
0, 96, 95, 27
Luminance
0.1063

At a glance

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

Hex
#ba080a
Hue
359°
red
Saturation
92%
electric
Lightness
38%
dark
Brightness
73%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1063
WCAG relative
Temperature
Warm
17/100 cool
Color family
Red
Tone
Electric
Best ink
White
6.72:1
Closest name
Firebrick
ΔE2000 4.2
Where it sits
Hue359° of 360°
Saturation92%
Lightness38%
Temperature
Warm ← → Cool17% 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#ba080a
RGBrgb(186, 8, 10)
HSLhsl(359, 92%, 38%)
CMYKcmyk(0%, 96%, 95%, 27%)
LABlab(39.0 62.4 49.5)
LCHlch(39.0 79.6 38.4)
OKLCHoklch(0.498 0.201 28.6)
Decimal12191754
Display P3color(display-p3 0.729 0.031 0.039)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba080a on white: 6.72:1
AA ✓ pass · AA-large · AAA
Aa
#ba080a on black: 3.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4E4404
deuteranopia · #766800
tritanopia · #CE000F

Color scale — 50 to 950

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

#FDF2F2
#FBE4E5
#F9C3C3
#FA9395
#F85E5F
#F6282A
#EB0A0D
#ba080a
#9D0708
#710A0B
#470607
Base = 700Lightest = 50 · #FDF2F2Darkest = 950 · #470607
:root {
  --brand-50: #FDF2F2;
  --brand-100: #FBE4E5;
  --brand-200: #F9C3C3;
  --brand-300: #FA9395;
  --brand-400: #F85E5F;
  --brand-500: #F6282A;
  --brand-600: #EB0A0D;
  --brand-700: #ba080a;
  --brand-800: #9D0708;
  --brand-900: #710A0B;
  --brand-950: #470607;
  --brand: #ba080a;
  --brand-ink: #ffffff;
}

Colors that work with #ba080a

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#FAF4F4
Tinted page background
Border#EDC0C0
Hairlines and dividers
Muted text#9B4B4C
Captions on the surface
Accent#04C894
Second voice, not a rival
Dark variant#7A0507
Hover, pressed, headers
Light variant#FEE7E7
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 #ba080a

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#08BAB8
Analogous left#BA0863
Analogous right#BA5F08
Split-complement 1#08BA5F
Split-complement 2#0863BA
Triadic 1#0ABA08
Triadic 2#080ABA
Tetradic#63BA08

RGB percentages

Red72.9%
Green3.1%
Blue3.9%

CMYK percentages

Cyan0.0%
Magenta95.7%
Yellow94.6%
Key (black)27.1%

Color previews

#ba080a text on a black background

contrast 3.13:1

Card sample

#ba080a text on a white background

contrast 6.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba080a

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.

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

#ba080a, answered

What color is #ba080a?

#ba080a is a dark electric red, closest to Firebrick (ΔE2000 4.2). It sits at 359° on the hue wheel with 92% saturation and 38% lightness, which reads as warm.

What is the RGB value of #ba080a?

rgb(186, 8, 10) — 186 red, 8 green and 10 blue out of 255, or 72.9% / 3.1% / 3.9% by channel.

Is #ba080a a light or a dark color?

It is a dark color. Relative luminance is 0.1063 and perceived brightness is 40%, so white text on it reaches 6.72:1.

Should I use black or white text on #ba080a?

White. It scores 6.72:1 against #ba080a, versus 3.13:1 for black — AA at any size.

What is the complementary color of #ba080a?

#08BAB8 sits directly opposite on the wheel. Softer options are the split-complements #08BA5F and #0863BA, which give the same contrast with far less vibration.

What colors go well with #ba080a?

For interface work: #FAF4F4 as the surface, #EDC0C0 for borders, #9B4B4C for secondary text, #04C894 as an accent and #7A0507 for hover and pressed states. For a palette, the analogous pair #BA0863 and #BA5F08 stays calm, while #08BAB8 is the loudest partner.

What is #ba080a in CMYK for printing?

cmyk(0%, 96%, 95%, 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 #ba080a warm or cool?

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

Work with #ba080a in the Color Lab