Skip to content

#df7804

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

RGB
223, 120, 4
HSL
32°, 97%, 45%
CMYK
0, 46, 98, 13
Luminance
0.2913

At a glance

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

Hex
#df7804
Hue
32°
orange
Saturation
97%
electric
Lightness
45%
dark
Brightness
87%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2913
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
6.83:1
Closest name
Peru
ΔE2000 6.3
Where it sits
Hue32° of 360°
Saturation97%
Lightness45%
Temperature
Warm ← → Cool2% 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#df7804
RGBrgb(223, 120, 4)
HSLhsl(32, 97%, 45%)
CMYKcmyk(0%, 46%, 98%, 13%)
LABlab(60.9 34.2 67.3)
LCHlch(60.9 75.5 63.1)
OKLCHoklch(0.676 0.162 57.2)
Decimal14645252
Display P3color(display-p3 0.875 0.471 0.016)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df7804 on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#df7804 on black: 6.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #978400
deuteranopia · #B09C02
tritanopia · #F56066

Color scale — 50 to 950

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

#FDF8F1
#FCF0E4
#FBE0C1
#FDCA91
#FCB05A
#FB9523
#df7804
#C86C04
#A05603
#744007
#482804
Base = 600Lightest = 50 · #FDF8F1Darkest = 950 · #482804
:root {
  --brand-50: #FDF8F1;
  --brand-100: #FCF0E4;
  --brand-200: #FBE0C1;
  --brand-300: #FDCA91;
  --brand-400: #FCB05A;
  --brand-500: #FB9523;
  --brand-600: #df7804;
  --brand-700: #C86C04;
  --brand-800: #A05603;
  --brand-900: #744007;
  --brand-950: #482804;
  --brand: #df7804;
  --brand-ink: #000000;
}

Colors that work with #df7804

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#EDD8C0
Hairlines and dividers
Muted text#9B754B
Captions on the surface
Accent#0093CC
Second voice, not a rival
Dark variant#7D4302
Hover, pressed, headers
Light variant#FFF3E6
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 #df7804

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#046BDF
Analogous left#DF0B04
Analogous right#D8DF04
Split-complement 1#04D8DF
Split-complement 2#0B04DF
Triadic 1#04DF78
Triadic 2#7804DF
Tetradic#04DF0B

RGB percentages

Red87.5%
Green47.1%
Blue1.6%

CMYK percentages

Cyan0.0%
Magenta46.2%
Yellow98.2%
Key (black)12.5%

Color previews

#df7804 text on a black background

contrast 6.83:1

Card sample

#df7804 text on a white background

contrast 3.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df7804

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.

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

#df7804, answered

What color is #df7804?

#df7804 is a dark electric orange, closest to Peru (ΔE2000 6.3). It sits at 32° on the hue wheel with 97% saturation and 45% lightness, which reads as warm.

What is the RGB value of #df7804?

rgb(223, 120, 4) — 223 red, 120 green and 4 blue out of 255, or 87.5% / 47.1% / 1.6% by channel.

Is #df7804 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2913 and perceived brightness is 60%, so black text on it reaches 6.83:1.

Should I use black or white text on #df7804?

Black. It scores 6.83:1 against #df7804, versus 3.08:1 for white — AA at any size.

What is the complementary color of #df7804?

#046BDF sits directly opposite on the wheel. Softer options are the split-complements #04D8DF and #0B04DF, which give the same contrast with far less vibration.

What colors go well with #df7804?

For interface work: #FAF8F4 as the surface, #EDD8C0 for borders, #9B754B for secondary text, #0093CC as an accent and #7D4302 for hover and pressed states. For a palette, the analogous pair #DF0B04 and #D8DF04 stays calm, while #046BDF is the loudest partner.

What is #df7804 in CMYK for printing?

cmyk(0%, 46%, 98%, 13%). 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 #df7804 warm or cool?

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

Work with #df7804 in the Color Lab