Skip to content

#ba4f3f

a balanced, vivid red · warm · closest name: Indian Red

RGB
186, 79, 63
HSL
8°, 49%, 49%
CMYK
0, 58, 66, 27
Luminance
0.1639

At a glance

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

Hex
#ba4f3f
Hue
red
Saturation
49%
vivid
Lightness
49%
balanced
Brightness
73%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1639
WCAG relative
Temperature
Warm
12/100 cool
Color family
Red
Tone
Vivid
Best ink
White
4.91:1
Closest name
Indian Red
ΔE2000 8.1
Where it sits
Hue8° of 360°
Saturation49%
Lightness49%
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#ba4f3f
RGBrgb(186, 79, 63)
HSLhsl(8, 49%, 49%)
CMYKcmyk(0%, 58%, 66%, 27%)
LABlab(47.5 42.1 30.9)
LCHlch(47.5 52.2 36.2)
OKLCHoklch(0.563 0.142 30.6)
Decimal12209983
Display P3color(display-p3 0.729 0.310 0.247)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba4f3f on white: 4.91:1
AA ✓ pass · AA-large · AAA
Aa
#ba4f3f on black: 4.28:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #6B623D
deuteranopia · #85793C
tritanopia · #CC3A4C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba4f3f is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF5F4
#F6EBEA
#ECD3CF
#E3B2AB
#D48C81
#C66657
#ba4f3f
#984134
#7A3429
#592921
#381915
Base = 600Lightest = 50 · #FAF5F4Darkest = 950 · #381915
:root {
  --brand-50: #FAF5F4;
  --brand-100: #F6EBEA;
  --brand-200: #ECD3CF;
  --brand-300: #E3B2AB;
  --brand-400: #D48C81;
  --brand-500: #C66657;
  --brand-600: #ba4f3f;
  --brand-700: #984134;
  --brand-800: #7A3429;
  --brand-900: #592921;
  --brand-950: #381915;
  --brand: #ba4f3f;
  --brand-ink: #ffffff;
}

Colors that work with #ba4f3f

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#EAC7C2
Hairlines and dividers
Muted text#9B554B
Captions on the surface
Accent#309C8F
Second voice, not a rival
Dark variant#5F2820
Hover, pressed, headers
Light variant#F9EEEC
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 #ba4f3f

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
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#3FAABA
Analogous left#BA3F6C
Analogous right#BA8C3F
Split-complement 1#3FBA8C
Split-complement 2#3F6CBA
Triadic 1#3FBA4F
Triadic 2#4F3FBA
Tetradic#6CBA3F

RGB percentages

Red72.9%
Green31.0%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta57.5%
Yellow66.1%
Key (black)27.1%

Color previews

#ba4f3f text on a black background

contrast 4.28:1

Card sample

#ba4f3f text on a white background

contrast 4.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba4f3f

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.

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

#ba4f3f, answered

What color is #ba4f3f?

#ba4f3f is a balanced vivid red, closest to Indian Red (ΔE2000 8.1). It sits at 8° on the hue wheel with 49% saturation and 49% lightness, which reads as warm.

What is the RGB value of #ba4f3f?

rgb(186, 79, 63) — 186 red, 79 green and 63 blue out of 255, or 72.9% / 31% / 24.7% by channel.

Is #ba4f3f a light or a dark color?

It is a dark color. Relative luminance is 0.1639 and perceived brightness is 47%, so white text on it reaches 4.91:1.

Should I use black or white text on #ba4f3f?

White. It scores 4.91:1 against #ba4f3f, versus 4.28:1 for black — AA at any size.

What is the complementary color of #ba4f3f?

#3FAABA sits directly opposite on the wheel. Softer options are the split-complements #3FBA8C and #3F6CBA, which give the same contrast with far less vibration.

What colors go well with #ba4f3f?

For interface work: #FAF5F4 as the surface, #EAC7C2 for borders, #9B554B for secondary text, #309C8F as an accent and #5F2820 for hover and pressed states. For a palette, the analogous pair #BA3F6C and #BA8C3F stays calm, while #3FAABA is the loudest partner.

What is #ba4f3f in CMYK for printing?

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

Is #ba4f3f 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 #BA673F; nudged cooler, #BC3C5B.

Work with #ba4f3f in the Color Lab