Skip to content

#ba752d

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

RGB
186, 117, 45
HSL
31°, 61%, 45%
CMYK
0, 37, 76, 27
Luminance
0.2335

At a glance

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

Hex
#ba752d
Hue
31°
orange
Saturation
61%
vivid
Lightness
45%
balanced
Brightness
73%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2335
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
5.67:1
Closest name
Peru
ΔE2000 5.7
Where it sits
Hue31° of 360°
Saturation61%
Lightness45%
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#ba752d
RGBrgb(186, 117, 45)
HSLhsl(31, 61%, 45%)
CMYKcmyk(0%, 37%, 76%, 27%)
LABlab(55.4 21.1 49.0)
LCHlch(55.4 53.3 66.7)
OKLCHoklch(0.624 0.121 62.9)
Decimal12219693
Display P3color(display-p3 0.729 0.459 0.176)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba752d on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#ba752d on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8B7B23
deuteranopia · #9B8B2E
tritanopia · #CB6566

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba752d 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
#F7F0E8
#F0DECC
#E9C8A5
#DEAC78
#D3904A
#ba752d
#A46728
#835320
#603E1B
#3C2711
Base = 600Lightest = 50 · #FBF7F4Darkest = 950 · #3C2711
:root {
  --brand-50: #FBF7F4;
  --brand-100: #F7F0E8;
  --brand-200: #F0DECC;
  --brand-300: #E9C8A5;
  --brand-400: #DEAC78;
  --brand-500: #D3904A;
  --brand-600: #ba752d;
  --brand-700: #A46728;
  --brand-800: #835320;
  --brand-900: #603E1B;
  --brand-950: #3C2711;
  --brand: #ba752d;
  --brand-ink: #000000;
}

Colors that work with #ba752d

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#EDD7C0
Hairlines and dividers
Muted text#9B744B
Captions on the surface
Accent#2898BF
Second voice, not a rival
Dark variant#674119
Hover, pressed, headers
Light variant#FAF2EA
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 #ba752d

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#2D72BA
Analogous left#BA2E2D
Analogous right#B9BA2D
Split-complement 1#2DB9BA
Split-complement 2#2E2DBA
Triadic 1#2DBA75
Triadic 2#752DBA
Tetradic#2DBA2E

RGB percentages

Red72.9%
Green45.9%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta37.1%
Yellow75.8%
Key (black)27.1%

Color previews

#ba752d text on a black background

contrast 5.67:1

Card sample

#ba752d text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba752d

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.

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

#ba752d, answered

What color is #ba752d?

#ba752d is a balanced vivid orange, closest to Peru (ΔE2000 5.7). It sits at 31° on the hue wheel with 61% saturation and 45% lightness, which reads as warm.

What is the RGB value of #ba752d?

rgb(186, 117, 45) — 186 red, 117 green and 45 blue out of 255, or 72.9% / 45.9% / 17.6% by channel.

Is #ba752d a light or a dark color?

It is a mid-tone. Relative luminance is 0.2335 and perceived brightness is 53%, so black text on it reaches 5.67:1.

Should I use black or white text on #ba752d?

Black. It scores 5.67:1 against #ba752d, versus 3.70:1 for white — AA at any size.

What is the complementary color of #ba752d?

#2D72BA sits directly opposite on the wheel. Softer options are the split-complements #2DB9BA and #2E2DBA, which give the same contrast with far less vibration.

What colors go well with #ba752d?

For interface work: #FAF7F4 as the surface, #EDD7C0 for borders, #9B744B for secondary text, #2898BF as an accent and #674119 for hover and pressed states. For a palette, the analogous pair #BA2E2D and #B9BA2D stays calm, while #2D72BA is the loudest partner.

What is #ba752d in CMYK for printing?

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

Is #ba752d 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 #CE7A33; nudged cooler, #BC402B.

Work with #ba752d in the Color Lab