Skip to content

#df7f3f

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

RGB
223, 127, 63
HSL
24°, 71%, 56%
CMYK
0, 43, 72, 13
Luminance
0.3123

At a glance

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

Hex
#df7f3f
Hue
24°
orange
Saturation
71%
vivid
Lightness
56%
balanced
Brightness
87%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3123
WCAG relative
Temperature
Warm
3/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
7.25:1
Closest name
Peru
ΔE2000 6
Where it sits
Hue24° of 360°
Saturation71%
Lightness56%
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#df7f3f
RGBrgb(223, 127, 63)
HSLhsl(24, 71%, 56%)
CMYKcmyk(0%, 43%, 72%, 13%)
LABlab(62.7 32.1 49.6)
LCHlch(62.7 59.1 57.1)
OKLCHoklch(0.690 0.142 51.8)
Decimal14647103
Display P3color(display-p3 0.875 0.498 0.247)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df7f3f on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#df7f3f on black: 7.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9B8B38
deuteranopia · #B1A03E
tritanopia · #F46B71

Color scale — 50 to 950

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

#FCF6F3
#F8EEE7
#F3DAC9
#EFBF9F
#E79F6F
#df7f3f
#D26923
#AF571D
#8C4617
#653515
#3F210D
Base = 500Lightest = 50 · #FCF6F3Darkest = 950 · #3F210D
:root {
  --brand-50: #FCF6F3;
  --brand-100: #F8EEE7;
  --brand-200: #F3DAC9;
  --brand-300: #EFBF9F;
  --brand-400: #E79F6F;
  --brand-500: #df7f3f;
  --brand-600: #D26923;
  --brand-700: #AF571D;
  --brand-800: #8C4617;
  --brand-900: #653515;
  --brand-950: #3F210D;
  --brand: #df7f3f;
  --brand-ink: #000000;
}

Colors that work with #df7f3f

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#EDD2C0
Hairlines and dividers
Muted text#9B6B4B
Captions on the surface
Accent#199CB3
Second voice, not a rival
Dark variant#6D3712
Hover, pressed, headers
Light variant#FBF0E9
Selected rows, tints
Dark surface#241A14
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 #df7f3f

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#3F9FDF
Analogous left#DF3F4F
Analogous right#DFCF3F
Split-complement 1#3FDFCF
Split-complement 2#3F4FDF
Triadic 1#3FDF7F
Triadic 2#7F3FDF
Tetradic#4FDF3F

RGB percentages

Red87.5%
Green49.8%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta43.0%
Yellow71.7%
Key (black)12.5%

Color previews

#df7f3f text on a black background

contrast 7.25:1

Card sample

#df7f3f text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df7f3f

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.

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

#df7f3f, answered

What color is #df7f3f?

#df7f3f is a balanced vivid orange, closest to Peru (ΔE2000 6). It sits at 24° on the hue wheel with 71% saturation and 56% lightness, which reads as warm.

What is the RGB value of #df7f3f?

rgb(223, 127, 63) — 223 red, 127 green and 63 blue out of 255, or 87.5% / 49.8% / 24.7% by channel.

Is #df7f3f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3123 and perceived brightness is 62%, so black text on it reaches 7.25:1.

Should I use black or white text on #df7f3f?

Black. It scores 7.25:1 against #df7f3f, versus 2.90:1 for white — AAA at any size.

What is the complementary color of #df7f3f?

#3F9FDF sits directly opposite on the wheel. Softer options are the split-complements #3FDFCF and #3F4FDF, which give the same contrast with far less vibration.

What colors go well with #df7f3f?

For interface work: #FAF7F4 as the surface, #EDD2C0 for borders, #9B6B4B for secondary text, #199CB3 as an accent and #6D3712 for hover and pressed states. For a palette, the analogous pair #DF3F4F and #DFCF3F stays calm, while #3F9FDF is the loudest partner.

What is #df7f3f in CMYK for printing?

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

Is #df7f3f 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 #E39055; nudged cooler, #E1423D.

Work with #df7f3f in the Color Lab