Skip to content

#ba5f0f

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

RGB
186, 95, 15
HSL
28°, 85%, 39%
CMYK
0, 49, 92, 27
Luminance
0.1866

At a glance

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

Hex
#ba5f0f
Hue
28°
orange
Saturation
85%
electric
Lightness
39%
dark
Brightness
73%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1866
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
4.73:1
Closest name
Chocolate
ΔE2000 6
Where it sits
Hue28° of 360°
Saturation85%
Lightness39%
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#ba5f0f
RGBrgb(186, 95, 15)
HSLhsl(28, 85%, 39%)
CMYKcmyk(0%, 49%, 92%, 27%)
LABlab(50.3 32.2 55.5)
LCHlch(50.3 64.2 59.9)
OKLCHoklch(0.583 0.142 53.5)
Decimal12214031
Display P3color(display-p3 0.729 0.373 0.059)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba5f0f on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#ba5f0f on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7A6B00
deuteranopia · #90800C
tritanopia · #CC4A51

Color scale — 50 to 950

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

#FCF7F2
#FAEFE5
#F7DCC5
#F7C497
#F2A663
#EE892F
#E37412
#ba5f0f
#974D0C
#6D3A0D
#442408
Base = 700Lightest = 50 · #FCF7F2Darkest = 950 · #442408
:root {
  --brand-50: #FCF7F2;
  --brand-100: #FAEFE5;
  --brand-200: #F7DCC5;
  --brand-300: #F7C497;
  --brand-400: #F2A663;
  --brand-500: #EE892F;
  --brand-600: #E37412;
  --brand-700: #ba5f0f;
  --brand-800: #974D0C;
  --brand-900: #6D3A0D;
  --brand-950: #442408;
  --brand: #ba5f0f;
  --brand-ink: #000000;
}

Colors that work with #ba5f0f

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#EDD5C0
Hairlines and dividers
Muted text#9B704B
Captions on the surface
Accent#0B97BE
Second voice, not a rival
Dark variant#763C09
Hover, pressed, headers
Light variant#FDF2E7
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 #ba5f0f

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#0F6ABA
Analogous left#BA0F14
Analogous right#BAB50F
Split-complement 1#0FBAB5
Split-complement 2#0F14BA
Triadic 1#0FBA5F
Triadic 2#5F0FBA
Tetradic#14BA0F

RGB percentages

Red72.9%
Green37.3%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta48.9%
Yellow91.9%
Key (black)27.1%

Color previews

#ba5f0f text on a black background

contrast 4.73:1

Card sample

#ba5f0f text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba5f0f

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.

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

#ba5f0f, answered

What color is #ba5f0f?

#ba5f0f is a dark electric orange, closest to Chocolate (ΔE2000 6). It sits at 28° on the hue wheel with 85% saturation and 39% lightness, which reads as warm.

What is the RGB value of #ba5f0f?

rgb(186, 95, 15) — 186 red, 95 green and 15 blue out of 255, or 72.9% / 37.3% / 5.9% by channel.

Is #ba5f0f a light or a dark color?

It is a mid-tone. Relative luminance is 0.1866 and perceived brightness is 49%, so black text on it reaches 4.73:1.

Should I use black or white text on #ba5f0f?

Black. It scores 4.73:1 against #ba5f0f, versus 4.44:1 for white — AA at any size.

What is the complementary color of #ba5f0f?

#0F6ABA sits directly opposite on the wheel. Softer options are the split-complements #0FBAB5 and #0F14BA, which give the same contrast with far less vibration.

What colors go well with #ba5f0f?

For interface work: #FAF7F4 as the surface, #EDD5C0 for borders, #9B704B for secondary text, #0B97BE as an accent and #763C09 for hover and pressed states. For a palette, the analogous pair #BA0F14 and #BAB50F stays calm, while #0F6ABA is the loudest partner.

What is #ba5f0f in CMYK for printing?

cmyk(0%, 49%, 92%, 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 #ba5f0f 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 #D26611; nudged cooler, #BC1F0D.

Work with #ba5f0f in the Color Lab