Skip to content

#df7c15

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

RGB
223, 124, 21
HSL
31°, 83%, 48%
CMYK
0, 44, 91, 13
Luminance
0.3016

At a glance

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

Hex
#df7c15
Hue
31°
orange
Saturation
83%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3016
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.03:1
Closest name
Peru
ΔE2000 5.5
Where it sits
Hue31° of 360°
Saturation83%
Lightness48%
Temperature
Warm ← → Cool1% 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#df7c15
RGBrgb(223, 124, 21)
HSLhsl(31, 83%, 48%)
CMYKcmyk(0%, 44%, 91%, 13%)
LABlab(61.8 32.3 64.8)
LCHlch(61.8 72.4 63.5)
OKLCHoklch(0.683 0.158 58.1)
Decimal14646293
Display P3color(display-p3 0.875 0.486 0.082)

Copy-ready code

/* CSS */
color: #df7c15;
background-color: #df7c15;
/* Tailwind (arbitrary) */
class="text-[#df7c15] bg-[#df7c15]"
/* SCSS */
$brand: #df7c15;
/* SwiftUI */
Color(red: 0.875, green: 0.486, blue: 0.082)
/* Android */
Color.parseColor("#df7c15")
/* Flutter */
Color(0xFFDF7C15)
/* Python / OpenCV (BGR) */
(21, 124, 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 #df7c15 · 7.03:1
Use #000000AAA at every size.
Aa
White text · 2.99:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.03:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #df7c15 as text scores 2.99:1 on white and 7.03:1 on black.

Accessibility — WCAG contrast

Aa
#df7c15 on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#df7c15 on black: 7.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9A8700
deuteranopia · #B29E14
tritanopia · #F5656A

Color scale — 50 to 950

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

#FCF7F2
#FAF0E6
#F6DEC6
#F5C898
#F1AC65
#EC9132
#df7c15
#BA6812
#95530E
#6C3E0F
#432709
Base = 600Lightest = 50 · #FCF7F2Darkest = 950 · #432709
:root {
  --brand-50: #FCF7F2;
  --brand-100: #FAF0E6;
  --brand-200: #F6DEC6;
  --brand-300: #F5C898;
  --brand-400: #F1AC65;
  --brand-500: #EC9132;
  --brand-600: #df7c15;
  --brand-700: #BA6812;
  --brand-800: #95530E;
  --brand-900: #6C3E0F;
  --brand-950: #432709;
  --brand: #df7c15;
  --brand-ink: #000000;
}

Colors that work with #df7c15

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#EDD7C0
Hairlines and dividers
Muted text#9B744B
Captions on the surface
Accent#0D91BF
Second voice, not a rival
Dark variant#75410B
Hover, pressed, headers
Light variant#FDF2E8
Selected rows, tints
Dark surface#241C14
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 #df7c15

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#1578DF
Analogous left#DF1715
Analogous right#DDDF15
Split-complement 1#15DDDF
Split-complement 2#1715DF
Triadic 1#15DF7C
Triadic 2#7C15DF
Tetradic#15DF17

RGB percentages

Red87.5%
Green48.6%
Blue8.2%

CMYK percentages

Cyan0.0%
Magenta44.4%
Yellow90.6%
Key (black)12.5%

Color previews

#df7c15 text on a black background

contrast 7.03:1

Card sample

#df7c15 text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df7c15

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.

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

#df7c15, answered

What color is #df7c15?

#df7c15 is a balanced electric orange, closest to Peru (ΔE2000 5.5). It sits at 31° on the hue wheel with 83% saturation and 48% lightness, which reads as warm.

What is the RGB value of #df7c15?

rgb(223, 124, 21) — 223 red, 124 green and 21 blue out of 255, or 87.5% / 48.6% / 8.2% by channel.

Is #df7c15 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3016 and perceived brightness is 61%, so black text on it reaches 7.03:1.

Should I use black or white text on #df7c15?

Black. It scores 7.03:1 against #df7c15, versus 2.99:1 for white — AAA at any size.

What is the complementary color of #df7c15?

#1578DF sits directly opposite on the wheel. Softer options are the split-complements #15DDDF and #1715DF, which give the same contrast with far less vibration.

What colors go well with #df7c15?

For interface work: #FAF7F4 as the surface, #EDD7C0 for borders, #9B744B for secondary text, #0D91BF as an accent and #75410B for hover and pressed states. For a palette, the analogous pair #DF1715 and #DDDF15 stays calm, while #1578DF is the loudest partner.

What is #df7c15 in CMYK for printing?

cmyk(0%, 44%, 91%, 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 #df7c15 warm or cool?

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

Work with #df7c15 in the Color Lab