Skip to content
orange · warm

#ba6021

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

Token name suggestion: Shadow Apricot

RGB
186, 96, 33
HSL
25°, 70%, 43%
CMYK
0, 48, 82, 27
Luminance
0.1891

#ba6021 is a dark vivid orange, 25° on the wheel and 3/100 on the cool side. Put black text on it (4.78:1). As text it scores 4.39:1 on white — large text only. Nearest name is Chocolate, nearest Tailwind family is orange.

hsl(25 70% 43%)rgb(186 96 33)Base step 700AA inkWarm

At a glance

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

Hex
#ba6021
Hue
25°
orange
Saturation
70%
vivid
Lightness
43%
dark
Brightness
73%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1891
WCAG relative
Temperature
Warm
3/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
4.78:1
Closest name
Chocolate
ΔE2000 5.7
Chroma
59.0
LCH, 0–130ish
OKLCH L
0.586
perceptual lightness
Tailwind
orange
500 · ΔE 13.3
Web-safe
#CC6633
nearest of 216
Where it sits
Hue25° of 360°
Saturation70%
Lightness43%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #ba6021.

Temperature
Warm ← → Cool3% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Luminance by channel
Red55%
Green44%
Blue1%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#ba6021
HEX (8-digit)#ba6021ff
RGBrgb(186, 96, 33)
RGBArgba(186, 96, 33, 1)
HSLhsl(25, 70%, 43%)
HSV / HSBhsv(25, 82%, 73%)
HWBhwb(25 13% 27%)
CMYKcmyk(0%, 48%, 82%, 27%)
LABlab(50.6 32.1 49.5)
LCHlch(50.6 59.0 57.1)
OKLCHoklch(0.586 0.137 50.9)
XYZ (D65)xyz(24.71, 18.92, 3.79)
Decimal12214305
Display P3color(display-p3 0.729 0.376 0.129)
Web-safe#CC6633

Copy-ready code

every platformclick to select
/* CSS */
color: #ba6021;
background-color: #ba6021;
/* CSS custom property */
--brand: #ba6021;
/* Tailwind (arbitrary) */
class="text-[#ba6021] bg-[#ba6021]"
/* SCSS */
$brand: #ba6021;
/* SwiftUI */
Color(red: 0.729, green: 0.376, blue: 0.129)
/* UIKit */
UIColor(red: 0.729, green: 0.376, blue: 0.129, alpha: 1)
/* Android XML */
<color name="brand">#BA6021</color>
/* Android Compose */
Color(0xFFBA6021)
/* Flutter */
Color(0xFFBA6021)
/* Python / OpenCV (BGR) */
(33, 96, 186)
/* Python / PIL (RGB) */
(186, 96, 33)
/* Java AWT */
new Color(186, 96, 33)
/* .NET */
Color.FromArgb(255, 186, 96, 33)
/* OpenGL / Unity (0–1) */
(0.7294f, 0.3765f, 0.1294f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{186,96,33}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #ba6021 85%, white);
border-color: color-mix(in oklab, #ba6021 40%, transparent);
/* theme-aware in one line */
color: light-dark(#6C3813, #EEDED3);
/* relative colour syntax */
--hover: hsl(from #ba6021 h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #FCF7F3;
  --brand-100: #F8EEE7;
  --brand-200: #F2DAC9;
  --brand-300: #EEC0A0;
  --brand-400: #E6A070;
  --brand-500: #DD8140;
  --brand-600: #D06B25;
  --brand-700: #ba6021;
  --brand-800: #8B4819;
  --brand-900: #653616;
  --brand-950: #3F220E;
  --brand: #ba6021;
  --brand-ink: #000000;
  --brand-surface: #FAF7F4;
  --brand-border: #EDD2C0;
  --brand-hover: #9C501C;
  --brand-pressed: #7D4116;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #241B14;
    --brand-ink: #EEDED3;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#FCF7F3',
        100: '#F8EEE7',
        200: '#F2DAC9',
        300: '#EEC0A0',
        400: '#E6A070',
        500: '#DD8140',
        600: '#D06B25',
        700: '#ba6021',
        800: '#8B4819',
        900: '#653616',
        950: '#3F220E',
        DEFAULT: '#ba6021',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #FCF7F3,
  '100': #F8EEE7,
  '200': #F2DAC9,
  '300': #EEC0A0,
  '400': #E6A070,
  '500': #DD8140,
  '600': #D06B25,
  '700': #ba6021,
  '800': #8B4819,
  '900': #653616,
  '950': #3F220E,
);
$brand-base: #ba6021;
$brand-ink: #000000;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#FCF7F3", "$type": "color" },
      "100": { "$value": "#F8EEE7", "$type": "color" },
      "200": { "$value": "#F2DAC9", "$type": "color" },
      "300": { "$value": "#EEC0A0", "$type": "color" },
      "400": { "$value": "#E6A070", "$type": "color" },
      "500": { "$value": "#DD8140", "$type": "color" },
      "600": { "$value": "#D06B25", "$type": "color" },
      "700": { "$value": "#ba6021", "$type": "color" },
      "800": { "$value": "#8B4819", "$type": "color" },
      "900": { "$value": "#653616", "$type": "color" },
      "950": { "$value": "#3F220E", "$type": "color" }
    },
    "brandInk": { "$value": "#000000", "$type": "color" }
  }
}

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 #ba6021 · 4.78:1
Use #000000AA at every size, AAA for large text only.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 4.39:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.78:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ba6021 as text scores 4.39:1 on white and 4.78:1 on black.
Best tinted ink on it, if plain black or white feels flat: #6C3813 at 2.16:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#B65E20 · 4.55:1
AA on white−1% L
#B65E20
The quick fox
#8A4718 · 7.01:1
AAA on white−11% L
#8A4718
The quick fox
#ba6021 · 4.78:1
AA on blackalready passes
#ba6021
The quick fox
#DC7E3C · 7.09:1
AAA on black+12% L
#DC7E3C

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #BA6021 is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#ba6021 on white: 4.39:1
AA ✗ fail · AA-large · AAA
Aa
#ba6021 on black: 4.78:1
AA ✓ pass · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #ba6021 as text on that neutral, and that neutral as text on #ba6021.

NeutralRatioBoth directions
White4.39:1AaAa
Slate 504.20:1AaAa
Slate 1004.01:1AaAa
Slate 2003.56:1AaAa
Slate 3002.96:1AaAa
Slate 4001.71:1AaAa
Slate 5001.08:1AaAa
Slate 6001.73:1AaAa
Slate 7002.36:1AaAa
Slate 8003.33:1AaAa
Slate 9004.07:1AaAa
Black4.78:1AaAa
Colour vision deficiency
true color
protanopia · #7A6C17
deuteranopia · #90801F
tritanopia · #CC4C54

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

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

#FCF7F3
#F8EEE7
#F2DAC9
#EEC0A0
#E6A070
#DD8140
#D06B25
#ba6021
#8B4819
#653616
#3F220E
Base = 700Lightest = 50 · #FCF7F3Darkest = 950 · #3F220EText step on white = 800
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.034 50.9);
  --brand-100: oklch(0.94 0.055 50.9);
  --brand-200: oklch(0.88 0.082 50.9);
  --brand-300: oklch(0.80 0.107 50.9);
  --brand-400: oklch(0.72 0.126 50.9);
  --brand-500: oklch(0.64 0.137 50.9);
  --brand-600: oklch(0.56 0.137 50.9);
  --brand-700: oklch(0.48 0.128 50.9);
  --brand-800: oklch(0.40 0.115 50.9);
  --brand-900: oklch(0.32 0.096 50.9);
  --brand-950: oklch(0.24 0.075 50.9);
}

Colors that work with #ba6021

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#EDD2C0
Hairlines and dividers
Muted text#9B6C4B
Captions on the surface
Accent#1B99B1
Second voice, not a rival
Dark variant#6C3813
Hover, pressed, headers
Light variant#FBF1E9
Selected rows, tints
Dark surface#241B14
Dark-mode background
Hover#9C501C
One step down in lightness
Pressed#7D4116
Two steps down
Disabled#B9A292
Chroma pulled out
Focus ring#D76718
Offset from the fill so it reads
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

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #ba6021

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
Minimum size as text on white
24px / 18.66px bold
Safe as a fill behind white type
No — use #6C3813
Safe as a 1px border on white
Yes

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

friendlyenergeticaffordablesocial

Orange is red with the aggression taken out — approachable, active, and strongly associated with buying and doing.

This is a confident chroma: strong enough to lead a brand, restrained enough to live in an interface all day. The low lightness adds weight and formality.

Worth knowing

Hard to make feel premium, and it collides with the "caution" band in status systems.

Reads as
  • FormalityHigh
  • EnergyMedium-high
  • Weight57/100
  • TemperatureWarm
  • ApproachabilityHigh

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

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#217BBA
Analogous left#BA212E
Analogous right#BAAC21
Split-complement 1#21BAAC
Split-complement 2#212EBA
Triadic 1#21BA60
Triadic 2#6021BA
Tetradic#2EBA21
On the wheel
Base+30°−30°+120°+240°+180°25°

#ba6021 sits at 25°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red72.9%
Green37.6%
Blue12.9%
R · 0–255
186
0xba
G · 0–255
96
0x60
B · 0–255
33
0x21

CMYK percentages

Cyan0.0%
Magenta48.4%
Yellow82.3%
Key (black)27.1%

Total ink coverage is 158%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#ba6021 text on a black background

contrast 4.78:1

Card sample

#ba6021 text on a white background

contrast 4.39:1

Card sample

#ba6021 on grey

4.01:1

#ba6021 on its own surface

4.11:1

#ba6021 on its dark surface

3.85:1

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Gradient headline

background: linear-gradient(90deg, #ba6021, #88BA21);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #ba6021;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #ba6021;
caret-color: #ba6021;
Left rule
Pull quote or callout
border-left: 4px solid #ba6021;
Ring + tint
Selected chip
background: #FBF1E9;
box-shadow: inset 0 0 0 2px #ba6021;
Conic badge
68%
background: conic-gradient(#ba6021 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #ba6021 over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(186, 96, 33, 0.5)
rgb(186 96 33 / 50%)
#ba602180
hsl(25 70% 43% / 50%)
color-mix(in srgb, #ba6021 50%, transparent)
Alpha8-digit hexFlat on white
10%#ba60211a#F8EFE9
20%#ba602133#F1DFD3
40%#ba602166#E3BFA6
60%#ba602199#D6A07A
80%#ba6021cc#C8804D

Gradients from #ba6021

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #DC7E3C, #ba6021 45%, #6C3813);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #ba6021, #8BA01C);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #ba6021, #217BBA);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #E18F56 0%, #ba6021 45%, #6C3813 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #FAF7F4, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #DB3350 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #D4D326 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #6C3813 0%, transparent 65%), #ba6021;

Monochromatic scale

Palettes built from #ba6021

Shades — darker

Tints — lighter

Tones — desaturated

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.

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

On screens

Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.

In dark mode

Usable as-is on a dark surface at 4.78:1.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#ba6021, answered

What color is #ba6021?

#ba6021 is a dark vivid orange, closest to Chocolate (ΔE2000 5.7). It sits at 25° on the hue wheel with 70% saturation and 43% lightness, which reads as warm.

What is the RGB value of #ba6021?

rgb(186, 96, 33) — 186 red, 96 green and 33 blue out of 255, or 72.9% / 37.6% / 12.9% by channel.

What is #ba6021 in HSL and HSV?

hsl(25, 70%, 43%) and hsv(25, 82%, 73%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #ba6021 a light or a dark color?

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

Should I use black or white text on #ba6021?

Black. It scores 4.78:1 against #ba6021, versus 4.39:1 for white — AA at any size.

Is #ba6021 accessible on a white background?

#ba6021 on white scores 4.39:1, which only clears AA for large text — 18.66px bold or 24px regular and up. Darken it to #B65E20 to reach 4.5:1, or #8A4718 for 7:1.

What is the complementary color of #ba6021?

#217BBA sits directly opposite on the wheel. Softer options are the split-complements #21BAAC and #212EBA, which give the same contrast with far less vibration.

What colors go well with #ba6021?

For interface work: #FAF7F4 as the surface, #EDD2C0 for borders, #9B6C4B for secondary text, #1B99B1 as an accent and #6C3813 for hover and pressed states. For a palette, the analogous pair #BA212E and #BAAC21 stays calm, while #217BBA is the loudest partner.

What is #ba6021 in CMYK for printing?

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

Is #ba6021 warm or cool?

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

Which Tailwind color is closest to #ba6021?

The orange family — its 500 step is #f97316, ΔE2000 13.3 away. That is a visible difference, so define #ba6021 as a custom token rather than reaching for the built-in.

How do I use #ba6021 in Tailwind CSS?

Inline it as an arbitrary value with bg-[#ba6021] or text-[#ba6021], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #ba6021 with 50% opacity?

rgba(186, 96, 33, 0.5), or #ba602180 in eight-digit hex. Over white that composites to #DDB090; over black, #5D3011.

Is #ba6021 a web-safe color?

No. The nearest web-safe colour is #CC6633, ΔE2000 5.5 away. The palette only matters for legacy displays and some email clients now.

What does the color #ba6021 mean?

As a orange, it reads friendly, energetic, affordable. Orange is red with the aggression taken out — approachable, active, and strongly associated with buying and doing. At this chroma the effect is amplified — it will dominate whatever sits beside it.

What gradient works with #ba6021?

The safest is same-hue elevation: linear-gradient(135deg, #DC7E3C, #ba6021 45%, #6C3813). For more colour, a short hue run to #8BA01C keeps it rich without turning muddy.

Work with #ba6021 in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #ba6021 at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.