Skip to content

#ba3821

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

RGB
186, 56, 33
HSL
9°, 70%, 43%
CMYK
0, 70, 82, 27
Luminance
0.1338

At a glance

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

Hex
#ba3821
Hue
red
Saturation
70%
vivid
Lightness
43%
dark
Brightness
73%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1338
WCAG relative
Temperature
Warm
12/100 cool
Color family
Red
Tone
Vivid
Best ink
White
5.71:1
Closest name
Firebrick
ΔE2000 5.6
Where it sits
Hue9° of 360°
Saturation70%
Lightness43%
Temperature
Warm ← → Cool12% 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#ba3821
RGBrgb(186, 56, 33)
HSLhsl(9, 70%, 43%)
CMYKcmyk(0%, 70%, 82%, 27%)
LABlab(43.3 51.0 42.8)
LCHlch(43.3 66.6 40.0)
OKLCHoklch(0.531 0.170 32.4)
Decimal12204065
Display P3color(display-p3 0.729 0.220 0.129)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba3821 on white: 5.71:1
AA ✓ pass · AA-large · AAA
Aa
#ba3821 on black: 3.68:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F541D
deuteranopia · #7F711A
tritanopia · #CD0234

Color scale — 50 to 950

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

#FCF4F3
#F8EAE7
#F2D0C9
#EEABA0
#E68270
#DD5840
#D03F25
#ba3821
#8B2A19
#652216
#3F150E
Base = 700Lightest = 50 · #FCF4F3Darkest = 950 · #3F150E
:root {
  --brand-50: #FCF4F3;
  --brand-100: #F8EAE7;
  --brand-200: #F2D0C9;
  --brand-300: #EEABA0;
  --brand-400: #E68270;
  --brand-500: #DD5840;
  --brand-600: #D03F25;
  --brand-700: #ba3821;
  --brand-800: #8B2A19;
  --brand-900: #652216;
  --brand-950: #3F150E;
  --brand: #ba3821;
  --brand-ink: #ffffff;
}

Colors that work with #ba3821

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#EDC6C0
Hairlines and dividers
Muted text#9B574B
Captions on the surface
Accent#1BB1A2
Second voice, not a rival
Dark variant#6C2113
Hover, pressed, headers
Light variant#FBECE9
Selected rows, tints
Dark surface#241614
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 #ba3821

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#21A3BA
Analogous left#BA2156
Analogous right#BA8421
Split-complement 1#21BA84
Split-complement 2#2156BA
Triadic 1#21BA38
Triadic 2#3821BA
Tetradic#56BA21

RGB percentages

Red72.9%
Green22.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta69.9%
Yellow82.3%
Key (black)27.1%

Color previews

#ba3821 text on a black background

contrast 3.68:1

Card sample

#ba3821 text on a white background

contrast 5.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba3821

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.

#ba3821 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

Converts to four-color process without much drama. Proof it anyway.

#ba3821, answered

What color is #ba3821?

#ba3821 is a dark vivid red, closest to Firebrick (ΔE2000 5.6). It sits at 9° on the hue wheel with 70% saturation and 43% lightness, which reads as warm.

What is the RGB value of #ba3821?

rgb(186, 56, 33) — 186 red, 56 green and 33 blue out of 255, or 72.9% / 22% / 12.9% by channel.

Is #ba3821 a light or a dark color?

It is a dark color. Relative luminance is 0.1338 and perceived brightness is 44%, so white text on it reaches 5.71:1.

Should I use black or white text on #ba3821?

White. It scores 5.71:1 against #ba3821, versus 3.68:1 for black — AA at any size.

What is the complementary color of #ba3821?

#21A3BA sits directly opposite on the wheel. Softer options are the split-complements #21BA84 and #2156BA, which give the same contrast with far less vibration.

What colors go well with #ba3821?

For interface work: #FAF5F4 as the surface, #EDC6C0 for borders, #9B574B for secondary text, #1BB1A2 as an accent and #6C2113 for hover and pressed states. For a palette, the analogous pair #BA2156 and #BA8421 stays calm, while #21A3BA is the loudest partner.

What is #ba3821 in CMYK for printing?

cmyk(0%, 70%, 82%, 27%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ba3821 warm or cool?

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

Work with #ba3821 in the Color Lab