Skip to content

#ba660d

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

RGB
186, 102, 13
HSL
31°, 87%, 39%
CMYK
0, 45, 93, 27
Luminance
0.1997

At a glance

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

Hex
#ba660d
Hue
31°
orange
Saturation
87%
electric
Lightness
39%
dark
Brightness
73%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1997
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
4.99:1
Closest name
Chocolate
ΔE2000 6.3
Where it sits
Hue31° of 360°
Saturation87%
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#ba660d
RGBrgb(186, 102, 13)
HSLhsl(31, 87%, 39%)
CMYKcmyk(0%, 45%, 93%, 27%)
LABlab(51.8 28.4 57.1)
LCHlch(51.8 63.8 63.5)
OKLCHoklch(0.595 0.138 58.1)
Decimal12215821
Display P3color(display-p3 0.729 0.400 0.051)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba660d on white: 4.20:1
AA ✗ fail · AA-large · AAA
Aa
#ba660d on black: 4.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7F7000
deuteranopia · #93830C
tritanopia · #CC5357

Color scale — 50 to 950

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

#FDF8F2
#FAF0E5
#F7DFC4
#F8C896
#F4AD62
#F0922D
#E57E10
#ba660d
#99540B
#6E3F0C
#452708
Base = 700Lightest = 50 · #FDF8F2Darkest = 950 · #452708
:root {
  --brand-50: #FDF8F2;
  --brand-100: #FAF0E5;
  --brand-200: #F7DFC4;
  --brand-300: #F8C896;
  --brand-400: #F4AD62;
  --brand-500: #F0922D;
  --brand-600: #E57E10;
  --brand-700: #ba660d;
  --brand-800: #99540B;
  --brand-900: #6E3F0C;
  --brand-950: #452708;
  --brand: #ba660d;
  --brand-ink: #000000;
}

Colors that work with #ba660d

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#098EBE
Second voice, not a rival
Dark variant#774108
Hover, pressed, headers
Light variant#FDF3E7
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 #ba660d

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#0D61BA
Analogous left#BA100D
Analogous right#B7BA0D
Split-complement 1#0DB7BA
Split-complement 2#100DBA
Triadic 1#0DBA66
Triadic 2#660DBA
Tetradic#0DBA10

RGB percentages

Red72.9%
Green40.0%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta45.2%
Yellow93.0%
Key (black)27.1%

Color previews

#ba660d text on a black background

contrast 4.99:1

Card sample

#ba660d text on a white background

contrast 4.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 102, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 102, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba660d;
background: linear-gradient(135deg, #ba660d, #9ABA0D);

Monochromatic scale

Palettes built from #ba660d

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.

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

#ba660d, answered

What color is #ba660d?

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

What is the RGB value of #ba660d?

rgb(186, 102, 13) — 186 red, 102 green and 13 blue out of 255, or 72.9% / 40% / 5.1% by channel.

Is #ba660d a light or a dark color?

It is a mid-tone. Relative luminance is 0.1997 and perceived brightness is 50%, so black text on it reaches 4.99:1.

Should I use black or white text on #ba660d?

Black. It scores 4.99:1 against #ba660d, versus 4.20:1 for white — AA at any size.

What is the complementary color of #ba660d?

#0D61BA sits directly opposite on the wheel. Softer options are the split-complements #0DB7BA and #100DBA, which give the same contrast with far less vibration.

What colors go well with #ba660d?

For interface work: #FAF7F4 as the surface, #EDD7C0 for borders, #9B744B for secondary text, #098EBE as an accent and #774108 for hover and pressed states. For a palette, the analogous pair #BA100D and #B7BA0D stays calm, while #0D61BA is the loudest partner.

What is #ba660d in CMYK for printing?

cmyk(0%, 45%, 93%, 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 #ba660d 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 #D2690F; nudged cooler, #BC250B.

Work with #ba660d in the Color Lab