Skip to content

#ba804f

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

RGB
186, 128, 79
HSL
28°, 44%, 52%
CMYK
0, 31, 58, 27
Luminance
0.2644

At a glance

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

Hex
#ba804f
Hue
28°
orange
Saturation
44%
soft
Lightness
52%
balanced
Brightness
73%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2644
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Soft
Best ink
Black
6.29:1
Closest name
Peru
ΔE2000 5.3
Where it sits
Hue28° of 360°
Saturation44%
Lightness52%
Temperature
Warm ← → Cool1% 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#ba804f
RGBrgb(186, 128, 79)
HSLhsl(28, 44%, 52%)
CMYKcmyk(0%, 31%, 58%, 27%)
LABlab(58.5 17.1 35.4)
LCHlch(58.5 39.3 64.1)
OKLCHoklch(0.648 0.097 60.0)
Decimal12222543
Display P3color(display-p3 0.729 0.502 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba804f on white: 3.34:1
AA ✗ fail · AA-large · AAA
Aa
#ba804f on black: 6.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #92854B
deuteranopia · #9F9250
tritanopia · #C97474

Color scale — 50 to 950

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

#FAF7F5
#F5EFEA
#EBDDD1
#DFC5AE
#D0A886
#ba804f
#B07645
#936239
#754F2E
#563B25
#362517
Base = 500Lightest = 50 · #FAF7F5Darkest = 950 · #362517
:root {
  --brand-50: #FAF7F5;
  --brand-100: #F5EFEA;
  --brand-200: #EBDDD1;
  --brand-300: #DFC5AE;
  --brand-400: #D0A886;
  --brand-500: #ba804f;
  --brand-600: #B07645;
  --brand-700: #936239;
  --brand-800: #754F2E;
  --brand-900: #563B25;
  --brand-950: #362517;
  --brand: #ba804f;
  --brand-ink: #000000;
}

Colors that work with #ba804f

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#E8D5C4
Hairlines and dividers
Muted text#9B6F4B
Captions on the surface
Accent#358397
Second voice, not a rival
Dark variant#5C3D24
Hover, pressed, headers
Light variant#F8F2ED
Selected rows, tints
Dark surface#241B14
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 #ba804f

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
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#4F89BA
Analogous left#BA4F54
Analogous right#BAB64F
Split-complement 1#4FBAB6
Split-complement 2#4F54BA
Triadic 1#4FBA80
Triadic 2#804FBA
Tetradic#54BA4F

RGB percentages

Red72.9%
Green50.2%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta31.2%
Yellow57.5%
Key (black)27.1%

Color previews

#ba804f text on a black background

contrast 6.29:1

Card sample

#ba804f text on a white background

contrast 3.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba804f

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.

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

#ba804f, answered

What color is #ba804f?

#ba804f is a balanced soft orange, closest to Peru (ΔE2000 5.3). It sits at 28° on the hue wheel with 44% saturation and 52% lightness, which reads as warm.

What is the RGB value of #ba804f?

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

Is #ba804f a light or a dark color?

It is a mid-tone. Relative luminance is 0.2644 and perceived brightness is 56%, so black text on it reaches 6.29:1.

Should I use black or white text on #ba804f?

Black. It scores 6.29:1 against #ba804f, versus 3.34:1 for white — AA at any size.

What is the complementary color of #ba804f?

#4F89BA sits directly opposite on the wheel. Softer options are the split-complements #4FBAB6 and #4F54BA, which give the same contrast with far less vibration.

What colors go well with #ba804f?

For interface work: #FAF7F4 as the surface, #E8D5C4 for borders, #9B6F4B for secondary text, #358397 as an accent and #5C3D24 for hover and pressed states. For a palette, the analogous pair #BA4F54 and #BAB64F stays calm, while #4F89BA is the loudest partner.

What is #ba804f in CMYK for printing?

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

Is #ba804f warm or cool?

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

Work with #ba804f in the Color Lab