Skip to content

#df8f2a

a balanced, vivid orange · warm · closest name: Peru

RGB
223, 143, 42
HSL
34°, 74%, 52%
CMYK
0, 36, 81, 13
Luminance
0.3550

At a glance

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

Hex
#df8f2a
Hue
34°
orange
Saturation
74%
vivid
Lightness
52%
balanced
Brightness
87%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3550
WCAG relative
Temperature
Warm
3/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
8.10:1
Closest name
Peru
ΔE2000 5.8
Where it sits
Hue34° of 360°
Saturation74%
Lightness52%
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.

Every format

HEX#df8f2a
RGBrgb(223, 143, 42)
HSLhsl(34, 74%, 52%)
CMYKcmyk(0%, 36%, 81%, 13%)
LABlab(66.1 22.7 61.9)
LCHlch(66.1 65.9 69.8)
OKLCHoklch(0.717 0.145 66.7)
Decimal14651178
Display P3color(display-p3 0.875 0.561 0.165)

Copy-ready code

/* CSS */
color: #df8f2a;
background-color: #df8f2a;
/* Tailwind (arbitrary) */
class="text-[#df8f2a] bg-[#df8f2a]"
/* SCSS */
$brand: #df8f2a;
/* SwiftUI */
Color(red: 0.875, green: 0.561, blue: 0.165)
/* Android */
Color.parseColor("#df8f2a")
/* Flutter */
Color(0xFFDF8F2A)
/* Python / OpenCV (BGR) */
(42, 143, 223)

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 #df8f2a · 8.10:1
Use #000000AAA at every size.
Aa
White text · 2.59:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.10:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #df8f2a as text scores 2.59:1 on white and 8.10:1 on black.

Accessibility — WCAG contrast

Aa
#df8f2a on white: 2.59:1
AA ✗ fail · AA-large · AAA
Aa
#df8f2a on black: 8.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A99616
deuteranopia · #BCA82C
tritanopia · #F47C7C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df8f2a is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF8F3
#F9F1E7
#F3E0C8
#F0CC9D
#E9B26D
#df8f2a
#D58520
#B16F1B
#8E5915
#674214
#40290C
Base = 500Lightest = 50 · #FCF8F3Darkest = 950 · #40290C
:root {
  --brand-50: #FCF8F3;
  --brand-100: #F9F1E7;
  --brand-200: #F3E0C8;
  --brand-300: #F0CC9D;
  --brand-400: #E9B26D;
  --brand-500: #df8f2a;
  --brand-600: #D58520;
  --brand-700: #B16F1B;
  --brand-800: #8E5915;
  --brand-900: #674214;
  --brand-950: #40290C;
  --brand: #df8f2a;
  --brand-ink: #000000;
}

Colors that work with #df8f2a

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#FAF8F4
Tinted page background
Border#EDD9C0
Hairlines and dividers
Muted text#9B774B
Captions on the surface
Accent#1684B6
Second voice, not a rival
Dark variant#6F4511
Hover, pressed, headers
Light variant#FCF3E9
Selected rows, tints
Dark surface#241D14
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 #df8f2a

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#2A7ADF
Analogous left#DF352A
Analogous right#D5DF2A
Split-complement 1#2AD5DF
Split-complement 2#352ADF
Triadic 1#2ADF8F
Triadic 2#8F2ADF
Tetradic#2ADF35

RGB percentages

Red87.5%
Green56.1%
Blue16.5%

CMYK percentages

Cyan0.0%
Magenta35.9%
Yellow81.2%
Key (black)12.5%

Color previews

#df8f2a text on a black background

contrast 8.10:1

Card sample

#df8f2a text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 143, 42, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 143, 42, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df8f2a;
background: linear-gradient(135deg, #df8f2a, #B6DF2A);

Monochromatic scale

Palettes built from #df8f2a

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.

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

#df8f2a, answered

What color is #df8f2a?

#df8f2a is a balanced vivid orange, closest to Peru (ΔE2000 5.8). It sits at 34° on the hue wheel with 74% saturation and 52% lightness, which reads as warm.

What is the RGB value of #df8f2a?

rgb(223, 143, 42) — 223 red, 143 green and 42 blue out of 255, or 87.5% / 56.1% / 16.5% by channel.

Is #df8f2a a light or a dark color?

It is a mid-tone. Relative luminance is 0.3550 and perceived brightness is 65%, so black text on it reaches 8.10:1.

Should I use black or white text on #df8f2a?

Black. It scores 8.10:1 against #df8f2a, versus 2.59:1 for white — AAA at any size.

What is the complementary color of #df8f2a?

#2A7ADF sits directly opposite on the wheel. Softer options are the split-complements #2AD5DF and #352ADF, which give the same contrast with far less vibration.

What colors go well with #df8f2a?

For interface work: #FAF8F4 as the surface, #EDD9C0 for borders, #9B774B for secondary text, #1684B6 as an accent and #6F4511 for hover and pressed states. For a palette, the analogous pair #DF352A and #D5DF2A stays calm, while #2A7ADF is the loudest partner.

What is #df8f2a in CMYK for printing?

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

Is #df8f2a 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 #E28F40; nudged cooler, #E2D428.

Work with #df8f2a in the Color Lab