Skip to content

#ba6513

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

RGB
186, 101, 19
HSL
30°, 82%, 40%
CMYK
0, 46, 90, 27
Luminance
0.1979

At a glance

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

Hex
#ba6513
Hue
30°
orange
Saturation
82%
electric
Lightness
40%
dark
Brightness
73%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1979
WCAG relative
Temperature
Warm
0/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
4.96:1
Closest name
Chocolate
ΔE2000 5.9
Where it sits
Hue30° of 360°
Saturation82%
Lightness40%
Temperature
Warm ← → Cool0% 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#ba6513
RGBrgb(186, 101, 19)
HSLhsl(30, 82%, 40%)
CMYKcmyk(0%, 46%, 90%, 27%)
LABlab(51.6 29.1 55.4)
LCHlch(51.6 62.5 62.3)
OKLCHoklch(0.594 0.138 56.7)
Decimal12215571
Display P3color(display-p3 0.729 0.396 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba6513 on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#ba6513 on black: 4.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7E6F00
deuteranopia · #938312
tritanopia · #CC5257

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba6513 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
#F9F0E6
#F6DDC6
#F5C699
#EFAA66
#EA8D33
#DE7917
#ba6513
#94500F
#6B3C0F
#43260A
Base = 700Lightest = 50 · #FCF7F2Darkest = 950 · #43260A
:root {
  --brand-50: #FCF7F2;
  --brand-100: #F9F0E6;
  --brand-200: #F6DDC6;
  --brand-300: #F5C699;
  --brand-400: #EFAA66;
  --brand-500: #EA8D33;
  --brand-600: #DE7917;
  --brand-700: #ba6513;
  --brand-800: #94500F;
  --brand-900: #6B3C0F;
  --brand-950: #43260A;
  --brand: #ba6513;
  --brand-ink: #000000;
}

Colors that work with #ba6513

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#EDD6C0
Hairlines and dividers
Muted text#9B724B
Captions on the surface
Accent#0F94BE
Second voice, not a rival
Dark variant#743F0C
Hover, pressed, headers
Light variant#FDF2E8
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 #ba6513

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#1368BA
Analogous left#BA1314
Analogous right#BAB913
Split-complement 1#13BAB9
Split-complement 2#1314BA
Triadic 1#13BA65
Triadic 2#6513BA
Tetradic#14BA13

RGB percentages

Red72.9%
Green39.6%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta45.7%
Yellow89.8%
Key (black)27.1%

Color previews

#ba6513 text on a black background

contrast 4.96:1

Card sample

#ba6513 text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba6513

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.

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

#ba6513, answered

What color is #ba6513?

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

What is the RGB value of #ba6513?

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

Is #ba6513 a light or a dark color?

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

Should I use black or white text on #ba6513?

Black. It scores 4.96:1 against #ba6513, versus 4.23:1 for white — AA at any size.

What is the complementary color of #ba6513?

#1368BA sits directly opposite on the wheel. Softer options are the split-complements #13BAB9 and #1314BA, which give the same contrast with far less vibration.

What colors go well with #ba6513?

For interface work: #FAF7F4 as the surface, #EDD6C0 for borders, #9B724B for secondary text, #0F94BE as an accent and #743F0C for hover and pressed states. For a palette, the analogous pair #BA1314 and #BAB913 stays calm, while #1368BA is the loudest partner.

What is #ba6513 in CMYK for printing?

cmyk(0%, 46%, 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 #ba6513 warm or cool?

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

Work with #ba6513 in the Color Lab