Skip to content

#df4d02

a dark, electric orange · warm · closest name: Orange Red

RGB
223, 77, 2
HSL
20°, 98%, 44%
CMYK
0, 66, 99, 13
Luminance
0.2100

At a glance

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

Hex
#df4d02
Hue
20°
orange
Saturation
98%
electric
Lightness
44%
dark
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2100
WCAG relative
Temperature
Warm
5/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
5.20:1
Closest name
Orange Red
ΔE2000 5.9
Where it sits
Hue20° of 360°
Saturation98%
Lightness44%
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.

Every format

HEX#df4d02
RGBrgb(223, 77, 2)
HSLhsl(20, 98%, 44%)
CMYKcmyk(0%, 66%, 99%, 13%)
LABlab(53.0 54.6 63.0)
LCHlch(53.0 83.4 49.1)
OKLCHoklch(0.615 0.193 39.7)
Decimal14634242
Display P3color(display-p3 0.875 0.302 0.008)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4d02 on white: 4.04:1
AA ✗ fail · AA-large · AAA
Aa
#df4d02 on black: 5.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #796A00
deuteranopia · #9C8B00
tritanopia · #F61C42

Color scale — 50 to 950

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

#FDF5F1
#FCECE3
#FBD4C1
#FEB590
#FD9058
#FD6C21
#df4d02
#CA4602
#A23801
#742C06
#491B04
Base = 600Lightest = 50 · #FDF5F1Darkest = 950 · #491B04
:root {
  --brand-50: #FDF5F1;
  --brand-100: #FCECE3;
  --brand-200: #FBD4C1;
  --brand-300: #FEB590;
  --brand-400: #FD9058;
  --brand-500: #FD6C21;
  --brand-600: #df4d02;
  --brand-700: #CA4602;
  --brand-800: #A23801;
  --brand-900: #742C06;
  --brand-950: #491B04;
  --brand: #df4d02;
  --brand-ink: #000000;
}

Colors that work with #df4d02

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#FAF6F4
Tinted page background
Border#EDCFC0
Hairlines and dividers
Muted text#9B664B
Captions on the surface
Accent#00BACC
Second voice, not a rival
Dark variant#7E2C01
Hover, pressed, headers
Light variant#FFEEE6
Selected rows, tints
Dark surface#241914
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 #df4d02

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#0294DF
Analogous left#DF0225
Analogous right#DFBC02
Split-complement 1#02DFBC
Split-complement 2#0225DF
Triadic 1#02DF4D
Triadic 2#4D02DF
Tetradic#25DF02

RGB percentages

Red87.5%
Green30.2%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta65.5%
Yellow99.1%
Key (black)12.5%

Color previews

#df4d02 text on a black background

contrast 5.20:1

Card sample

#df4d02 text on a white background

contrast 4.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4d02

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.

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

#df4d02, answered

What color is #df4d02?

#df4d02 is a dark electric orange, closest to Orange Red (ΔE2000 5.9). It sits at 20° on the hue wheel with 98% saturation and 44% lightness, which reads as warm.

What is the RGB value of #df4d02?

rgb(223, 77, 2) — 223 red, 77 green and 2 blue out of 255, or 87.5% / 30.2% / 0.8% by channel.

Is #df4d02 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2100 and perceived brightness is 53%, so black text on it reaches 5.20:1.

Should I use black or white text on #df4d02?

Black. It scores 5.20:1 against #df4d02, versus 4.04:1 for white — AA at any size.

What is the complementary color of #df4d02?

#0294DF sits directly opposite on the wheel. Softer options are the split-complements #02DFBC and #0225DF, which give the same contrast with far less vibration.

What colors go well with #df4d02?

For interface work: #FAF6F4 as the surface, #EDCFC0 for borders, #9B664B for secondary text, #00BACC as an accent and #7E2C01 for hover and pressed states. For a palette, the analogous pair #DF0225 and #DFBC02 stays calm, while #0294DF is the loudest partner.

What is #df4d02 in CMYK for printing?

cmyk(0%, 66%, 99%, 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 #df4d02 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 #F86102; nudged cooler, #E10006.

Work with #df4d02 in the Color Lab