Skip to content

#ba7839

a balanced, vivid orange · warm · closest name: Peru

RGB
186, 120, 57
HSL
29°, 53%, 48%
CMYK
0, 36, 69, 27
Luminance
0.2417

At a glance

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

Hex
#ba7839
Hue
29°
orange
Saturation
53%
vivid
Lightness
48%
balanced
Brightness
73%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2417
WCAG relative
Temperature
Warm
0/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
5.83:1
Closest name
Peru
ΔE2000 5.1
Where it sits
Hue29° of 360°
Saturation53%
Lightness48%
Temperature
Warm ← → Cool0% 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#ba7839
RGBrgb(186, 120, 57)
HSLhsl(29, 53%, 48%)
CMYKcmyk(0%, 36%, 69%, 27%)
LABlab(56.3 20.1 44.2)
LCHlch(56.3 48.5 65.6)
OKLCHoklch(0.630 0.114 61.7)
Decimal12220473
Display P3color(display-p3 0.729 0.471 0.224)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba7839 on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#ba7839 on black: 5.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8C7E32
deuteranopia · #9C8D3A
tritanopia · #CB696A

Color scale — 50 to 950

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

#FBF7F4
#F6F0E9
#EDDDCE
#E5C6A9
#D8AA7E
#CA8D53
#ba7839
#9C6530
#7D5126
#5B3D1F
#392614
Base = 600Lightest = 50 · #FBF7F4Darkest = 950 · #392614
:root {
  --brand-50: #FBF7F4;
  --brand-100: #F6F0E9;
  --brand-200: #EDDDCE;
  --brand-300: #E5C6A9;
  --brand-400: #D8AA7E;
  --brand-500: #CA8D53;
  --brand-600: #ba7839;
  --brand-700: #9C6530;
  --brand-800: #7D5126;
  --brand-900: #5B3D1F;
  --brand-950: #392614;
  --brand: #ba7839;
  --brand-ink: #000000;
}

Colors that work with #ba7839

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF7F4
Tinted page background
Border#ECD6C1
Hairlines and dividers
Muted text#9B724B
Captions on the surface
Accent#2C85A0
Second voice, not a rival
Dark variant#623F1E
Hover, pressed, headers
Light variant#F9F2EB
Selected rows, tints
Dark surface#241C14
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 #ba7839

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#397BBA
Analogous left#BA393A
Analogous right#BAB839
Split-complement 1#39BAB8
Split-complement 2#393ABA
Triadic 1#39BA78
Triadic 2#7839BA
Tetradic#3ABA39

RGB percentages

Red72.9%
Green47.1%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta35.5%
Yellow69.4%
Key (black)27.1%

Color previews

#ba7839 text on a black background

contrast 5.83:1

Card sample

#ba7839 text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba7839

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.

#ba7839 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#ba7839, answered

What color is #ba7839?

#ba7839 is a balanced vivid orange, closest to Peru (ΔE2000 5.1). It sits at 29° on the hue wheel with 53% saturation and 48% lightness, which reads as warm.

What is the RGB value of #ba7839?

rgb(186, 120, 57) — 186 red, 120 green and 57 blue out of 255, or 72.9% / 47.1% / 22.4% by channel.

Is #ba7839 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2417 and perceived brightness is 54%, so black text on it reaches 5.83:1.

Should I use black or white text on #ba7839?

Black. It scores 5.83:1 against #ba7839, versus 3.60:1 for white — AA at any size.

What is the complementary color of #ba7839?

#397BBA sits directly opposite on the wheel. Softer options are the split-complements #39BAB8 and #393ABA, which give the same contrast with far less vibration.

What colors go well with #ba7839?

For interface work: #FAF7F4 as the surface, #ECD6C1 for borders, #9B724B for secondary text, #2C85A0 as an accent and #623F1E for hover and pressed states. For a palette, the analogous pair #BA393A and #BAB839 stays calm, while #397BBA is the loudest partner.

What is #ba7839 in CMYK for printing?

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

Is #ba7839 warm or cool?

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

Work with #ba7839 in the Color Lab