Skip to content

#ba5213

a dark, electric orange · warm · closest name: Sienna

RGB
186, 82, 19
HSL
23°, 82%, 40%
CMYK
0, 56, 90, 27
Luminance
0.1652

At a glance

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

Hex
#ba5213
Hue
23°
orange
Saturation
82%
electric
Lightness
40%
dark
Brightness
73%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1652
WCAG relative
Temperature
Warm
4/100 cool
Color family
Orange
Tone
Electric
Best ink
White
4.88:1
Closest name
Sienna
ΔE2000 6.8
Where it sits
Hue23° of 360°
Saturation82%
Lightness40%
Temperature
Warm ← → Cool4% 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#ba5213
RGBrgb(186, 82, 19)
HSLhsl(23, 82%, 40%)
CMYKcmyk(0%, 56%, 90%, 27%)
LABlab(47.6 38.9 52.4)
LCHlch(47.6 65.2 53.4)
OKLCHoklch(0.563 0.151 45.8)
Decimal12210707
Display P3color(display-p3 0.729 0.322 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba5213 on white: 4.88:1
AA ✓ pass · AA-large · AAA
Aa
#ba5213 on black: 4.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #706203
deuteranopia · #897A0D
tritanopia · #CD3947

Color scale — 50 to 950

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

#FCF6F2
#F9EDE6
#F6D8C6
#F5BC99
#EF9A66
#EA7833
#DE6217
#ba5213
#94410F
#6B320F
#431F0A
Base = 700Lightest = 50 · #FCF6F2Darkest = 950 · #431F0A
:root {
  --brand-50: #FCF6F2;
  --brand-100: #F9EDE6;
  --brand-200: #F6D8C6;
  --brand-300: #F5BC99;
  --brand-400: #EF9A66;
  --brand-500: #EA7833;
  --brand-600: #DE6217;
  --brand-700: #ba5213;
  --brand-800: #94410F;
  --brand-900: #6B320F;
  --brand-950: #431F0A;
  --brand: #ba5213;
  --brand-ink: #ffffff;
}

Colors that work with #ba5213

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#FAF7F4
Tinted page background
Border#EDD1C0
Hairlines and dividers
Muted text#9B694B
Captions on the surface
Accent#0FA7BD
Second voice, not a rival
Dark variant#74330C
Hover, pressed, headers
Light variant#FDF0E8
Selected rows, tints
Dark surface#241A14
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 #ba5213

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#137BBA
Analogous left#BA1328
Analogous right#BAA513
Split-complement 1#13BAA5
Split-complement 2#1328BA
Triadic 1#13BA52
Triadic 2#5213BA
Tetradic#28BA13

RGB percentages

Red72.9%
Green32.2%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta55.9%
Yellow89.8%
Key (black)27.1%

Color previews

#ba5213 text on a black background

contrast 4.30:1

Card sample

#ba5213 text on a white background

contrast 4.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba5213

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.

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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ba5213, answered

What color is #ba5213?

#ba5213 is a dark electric orange, closest to Sienna (ΔE2000 6.8). It sits at 23° on the hue wheel with 82% saturation and 40% lightness, which reads as warm.

What is the RGB value of #ba5213?

rgb(186, 82, 19) — 186 red, 82 green and 19 blue out of 255, or 72.9% / 32.2% / 7.5% by channel.

Is #ba5213 a light or a dark color?

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

Should I use black or white text on #ba5213?

White. It scores 4.88:1 against #ba5213, versus 4.30:1 for black — AA at any size.

What is the complementary color of #ba5213?

#137BBA sits directly opposite on the wheel. Softer options are the split-complements #13BAA5 and #1328BA, which give the same contrast with far less vibration.

What colors go well with #ba5213?

For interface work: #FAF7F4 as the surface, #EDD1C0 for borders, #9B694B for secondary text, #0FA7BD as an accent and #74330C for hover and pressed states. For a palette, the analogous pair #BA1328 and #BAA513 stays calm, while #137BBA is the loudest partner.

What is #ba5213 in CMYK for printing?

cmyk(0%, 56%, 90%, 27%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ba5213 warm or cool?

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

Work with #ba5213 in the Color Lab