Skip to content
orange · warm

#ab511f

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

Token name suggestion: Slate Amber

RGB
171, 81, 31
HSL
21°, 69%, 40%
CMYK
0, 53, 82, 33
Luminance
0.1464

#ab511f is a dark vivid orange, 21° on the wheel and 5/100 on the cool side. Put white text on it (5.35:1). As text it scores 5.35:1 on white — safe at any size. Nearest name is Sienna, nearest Tailwind family is red.

hsl(21 69% 40%)rgb(171 81 31)Base step 700AA inkWarm

At a glance

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

Hex
#ab511f
Hue
21°
orange
Saturation
69%
vivid
Lightness
40%
dark
Brightness
67%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1464
WCAG relative
Temperature
Warm
5/100 cool
Color family
Orange
Tone
Vivid
Best ink
White
5.35:1
Closest name
Sienna
ΔE2000 3.5
Chroma
55.9
LCH, 0–130ish
OKLCH L
0.540
perceptual lightness
Tailwind
red
500 · ΔE 18.2
Web-safe
#996633
nearest of 216
Where it sits
Hue21° of 360°
Saturation69%
Lightness40%
Saturation × lightness field

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

Temperature
Warm ← → Cool5% 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
Red59%
Green40%
Blue1%

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

Every format

HEX#ab511f
HEX (8-digit)#ab511fff
RGBrgb(171, 81, 31)
RGBArgba(171, 81, 31, 1)
HSLhsl(21, 69%, 40%)
HSV / HSBhsv(21, 82%, 67%)
HWBhwb(21 12% 33%)
CMYKcmyk(0%, 53%, 82%, 33%)
LABlab(45.1 33.8 44.5)
LCHlch(45.1 55.9 52.8)
OKLCHoklch(0.540 0.133 46.1)
XYZ (D65)xyz(19.99, 14.64, 3.07)
Decimal11227423
Display P3color(display-p3 0.671 0.318 0.122)
Web-safe#996633

Copy-ready code

every platformclick to select
/* CSS */
color: #ab511f;
background-color: #ab511f;
/* CSS custom property */
--brand: #ab511f;
/* Tailwind (arbitrary) */
class="text-[#ab511f] bg-[#ab511f]"
/* SCSS */
$brand: #ab511f;
/* SwiftUI */
Color(red: 0.671, green: 0.318, blue: 0.122)
/* UIKit */
UIColor(red: 0.671, green: 0.318, blue: 0.122, alpha: 1)
/* Android XML */
<color name="brand">#AB511F</color>
/* Android Compose */
Color(0xFFAB511F)
/* Flutter */
Color(0xFFAB511F)
/* Python / OpenCV (BGR) */
(31, 81, 171)
/* Python / PIL (RGB) */
(171, 81, 31)
/* Java AWT */
new Color(171, 81, 31)
/* .NET */
Color.FromArgb(255, 171, 81, 31)
/* OpenGL / Unity (0–1) */
(0.6706f, 0.3176f, 0.1216f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{171,81,31}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #ab511f 85%, white);
border-color: color-mix(in oklab, #ab511f 40%, transparent);
/* theme-aware in one line */
color: light-dark(#6C3314, #EEDCD3);
/* relative colour syntax */
--hover: hsl(from #ab511f 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: #FBF6F3;
  --brand-100: #F8EDE7;
  --brand-200: #F2D8CA;
  --brand-300: #EEBCA0;
  --brand-400: #E59A71;
  --brand-500: #DD7941;
  --brand-600: #CF6226;
  --brand-700: #ab511f;
  --brand-800: #8A4119;
  --brand-900: #643216;
  --brand-950: #3F1F0E;
  --brand: #ab511f;
  --brand-ink: #ffffff;
  --brand-surface: #FAF6F4;
  --brand-border: #EDD0C0;
  --brand-hover: #8D431A;
  --brand-pressed: #6F3414;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #241A14;
    --brand-ink: #EEDCD3;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#FBF6F3',
        100: '#F8EDE7',
        200: '#F2D8CA',
        300: '#EEBCA0',
        400: '#E59A71',
        500: '#DD7941',
        600: '#CF6226',
        700: '#ab511f',
        800: '#8A4119',
        900: '#643216',
        950: '#3F1F0E',
        DEFAULT: '#ab511f',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #FBF6F3,
  '100': #F8EDE7,
  '200': #F2D8CA,
  '300': #EEBCA0,
  '400': #E59A71,
  '500': #DD7941,
  '600': #CF6226,
  '700': #ab511f,
  '800': #8A4119,
  '900': #643216,
  '950': #3F1F0E,
);
$brand-base: #ab511f;
$brand-ink: #ffffff;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#FBF6F3", "$type": "color" },
      "100": { "$value": "#F8EDE7", "$type": "color" },
      "200": { "$value": "#F2D8CA", "$type": "color" },
      "300": { "$value": "#EEBCA0", "$type": "color" },
      "400": { "$value": "#E59A71", "$type": "color" },
      "500": { "$value": "#DD7941", "$type": "color" },
      "600": { "$value": "#CF6226", "$type": "color" },
      "700": { "$value": "#ab511f", "$type": "color" },
      "800": { "$value": "#8A4119", "$type": "color" },
      "900": { "$value": "#643216", "$type": "color" },
      "950": { "$value": "#3F1F0E", "$type": "color" }
    },
    "brandInk": { "$value": "#ffffff", "$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#ffffff on #ab511f · 5.35:1
Use #ffffffAA at every size, AAA for large text only.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 5.35:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.93:1
AA fail · AA large pass · AAA fail
Reading the other direction: #ab511f as text scores 5.35:1 on white and 3.93:1 on black.
Best tinted ink on it, if plain black or white feels flat: #FBF0E9 at 4.77: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
#ab511f · 5.35:1
AA on whitealready passes
#ab511f
The quick fox
#8D431A · 7.12:1
AAA on white−7% L
#8D431A
The quick fox
#BC5922 · 4.59:1
AA on black+4% L
#BC5922
The quick fox
#DE7D48 · 7.13:1
AAA on black+18% L
#DE7D48

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #AB511F 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
#ab511f on white: 5.35:1
AA ✓ pass · AA-large · AAA
Aa
#ab511f on black: 3.93:1
AA ✗ fail · AA-large · AAA
Against the neutral ladder

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

NeutralRatioBoth directions
White5.35:1AaAa
Slate 505.11:1AaAa
Slate 1004.88:1AaAa
Slate 2004.34:1AaAa
Slate 3003.60:1AaAa
Slate 4002.08:1AaAa
Slate 5001.12:1AaAa
Slate 6001.42:1AaAa
Slate 7001.94:1AaAa
Slate 8002.74:1AaAa
Slate 9003.34:1AaAa
Black3.93:1AaAa
Colour vision deficiency
true color
protanopia · #6B5E18
deuteranopia · #80731D
tritanopia · #BC3D47

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

#FBF6F3
#F8EDE7
#F2D8CA
#EEBCA0
#E59A71
#DD7941
#CF6226
#ab511f
#8A4119
#643216
#3F1F0E
Base = 700Lightest = 50 · #FBF6F3Darkest = 950 · #3F1F0EText step on white = 700
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.033 46.1);
  --brand-100: oklch(0.94 0.053 46.1);
  --brand-200: oklch(0.88 0.080 46.1);
  --brand-300: oklch(0.80 0.104 46.1);
  --brand-400: oklch(0.72 0.122 46.1);
  --brand-500: oklch(0.64 0.133 46.1);
  --brand-600: oklch(0.56 0.133 46.1);
  --brand-700: oklch(0.48 0.125 46.1);
  --brand-800: oklch(0.40 0.112 46.1);
  --brand-900: oklch(0.32 0.093 46.1);
  --brand-950: oklch(0.24 0.073 46.1);
}

Colors that work with #ab511f

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#FAF6F4
Tinted page background
Border#EDD0C0
Hairlines and dividers
Muted text#9B674B
Captions on the surface
Accent#1BA1B1
Second voice, not a rival
Dark variant#6C3314
Hover, pressed, headers
Light variant#FBF0E9
Selected rows, tints
Dark surface#241A14
Dark-mode background
Hover#8D431A
One step down in lightness
Pressed#6F3414
Two steps down
Disabled#B39788
Chroma pulled out
Focus ring#C75617
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 #ab511f

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
Minimum size as text on white
Any size
Safe as a fill behind white type
Yes
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
  • Weight60/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#1F79AB
Analogous left#AB1F33
Analogous right#AB971F
Split-complement 1#1FAB97
Split-complement 2#1F33AB
Triadic 1#1FAB51
Triadic 2#511FAB
Tetradic#33AB1F
On the wheel
Base+30°−30°+120°+240°+180°21°

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

RGB percentages

Red67.1%
Green31.8%
Blue12.2%
R · 0–255
171
0xab
G · 0–255
81
0x51
B · 0–255
31
0x1f

CMYK percentages

Cyan0.0%
Magenta52.6%
Yellow81.9%
Key (black)32.9%

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

Color previews

#ab511f text on a black background

contrast 3.93:1

Card sample

#ab511f text on a white background

contrast 5.35:1

Card sample

#ab511f on grey

4.88:1

#ab511f on its own surface

4.98:1

#ab511f on its dark surface

3.19:1

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 81, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 81, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab511f;
background: linear-gradient(135deg, #ab511f, #A8AB1F);
Gradient text

Gradient headline

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

Marked up text

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

Transparency

What each alpha value actually composites to. The top row is #ab511f 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(171, 81, 31, 0.5)
rgb(171 81 31 / 50%)
#ab511f80
hsl(21 69% 40% / 50%)
color-mix(in srgb, #ab511f 50%, transparent)
Alpha8-digit hexFlat on white
10%#ab511f1a#F7EEE9
20%#ab511f33#EEDCD2
40%#ab511f66#DDB9A5
60%#ab511f99#CD9779
80%#ab511fcc#BC744C

Gradients from #ab511f

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, #D96B2E, #ab511f 45%, #6C3314);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #ab511f, #84911A);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #ab511f, #1F79AB);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #DE7D48 0%, #ab511f 45%, #6C3314 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #FAF6F4, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #D6274F 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #C5BB24 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #6C3314 0%, transparent 65%), #ab511f;

Monochromatic scale

Palettes built from #ab511f

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.

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

Too dim on dark surfaces at 3.93:1 — lift it to #BC5922 for body text, or reserve it for fills.

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.

#ab511f, answered

What color is #ab511f?

#ab511f is a dark vivid orange, closest to Sienna (ΔE2000 3.5). It sits at 21° on the hue wheel with 69% saturation and 40% lightness, which reads as warm.

What is the RGB value of #ab511f?

rgb(171, 81, 31) — 171 red, 81 green and 31 blue out of 255, or 67.1% / 31.8% / 12.2% by channel.

What is #ab511f in HSL and HSV?

hsl(21, 69%, 40%) and hsv(21, 82%, 67%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #ab511f a light or a dark color?

It is a dark color. Relative luminance is 0.1464 and perceived brightness is 44%, so white text on it reaches 5.35:1.

Should I use black or white text on #ab511f?

White. It scores 5.35:1 against #ab511f, versus 3.93:1 for black — AA at any size.

Is #ab511f accessible on a white background?

#ab511f on white scores 5.35:1, which clears AA at every size but not AAA.

What is the complementary color of #ab511f?

#1F79AB sits directly opposite on the wheel. Softer options are the split-complements #1FAB97 and #1F33AB, which give the same contrast with far less vibration.

What colors go well with #ab511f?

For interface work: #FAF6F4 as the surface, #EDD0C0 for borders, #9B674B for secondary text, #1BA1B1 as an accent and #6C3314 for hover and pressed states. For a palette, the analogous pair #AB1F33 and #AB971F stays calm, while #1F79AB is the loudest partner.

What is #ab511f in CMYK for printing?

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

Is #ab511f warm or cool?

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

Which Tailwind color is closest to #ab511f?

The red family — its 500 step is #ef4444, ΔE2000 18.2 away. That is a visible difference, so define #ab511f as a custom token rather than reaching for the built-in.

How do I use #ab511f in Tailwind CSS?

Inline it as an arbitrary value with bg-[#ab511f] or text-[#ab511f], 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 #ab511f with 50% opacity?

rgba(171, 81, 31, 0.5), or #ab511f80 in eight-digit hex. Over white that composites to #D5A88F; over black, #562910.

Is #ab511f a web-safe color?

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

What does the color #ab511f 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 #ab511f?

The safest is same-hue elevation: linear-gradient(135deg, #D96B2E, #ab511f 45%, #6C3314). For more colour, a short hue run to #84911A keeps it rich without turning muddy.

Work with #ab511f in the Color Lab

Every tool opens with this colour already loaded.

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