Skip to content

#d97f49

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

RGB
217, 127, 73
HSL
23°, 66%, 57%
CMYK
0, 42, 66, 15
Luminance
0.3041

At a glance

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

Hex
#d97f49
Hue
23°
orange
Saturation
66%
vivid
Lightness
57%
balanced
Brightness
85%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3041
WCAG relative
Temperature
Warm
4/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
7.08:1
Closest name
Peru
ΔE2000 6.6
Where it sits
Hue23° of 360°
Saturation66%
Lightness57%
Temperature
Warm ← → Cool4% 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#d97f49
RGBrgb(217, 127, 73)
HSLhsl(23, 66%, 57%)
CMYKcmyk(0%, 42%, 66%, 15%)
LABlab(62.0 30.2 43.7)
LCHlch(62.0 53.1 55.4)
OKLCHoklch(0.684 0.131 50.1)
Decimal14253897
Display P3color(display-p3 0.851 0.498 0.286)

Copy-ready code

/* CSS */
color: #d97f49;
background-color: #d97f49;
/* Tailwind (arbitrary) */
class="text-[#d97f49] bg-[#d97f49]"
/* SCSS */
$brand: #d97f49;
/* SwiftUI */
Color(red: 0.851, green: 0.498, blue: 0.286)
/* Android */
Color.parseColor("#d97f49")
/* Flutter */
Color(0xFFD97F49)
/* Python / OpenCV (BGR) */
(73, 127, 217)

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

Accessibility — WCAG contrast

Aa
#d97f49 on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#d97f49 on black: 7.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #988A44
deuteranopia · #AE9E48
tritanopia · #ED6D73

Color scale — 50 to 950

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

#FBF6F3
#F8EEE8
#F1D9CB
#ECBEA2
#E29D74
#d97f49
#CB662A
#A95523
#87441C
#623418
#3D200F
Base = 500Lightest = 50 · #FBF6F3Darkest = 950 · #3D200F
:root {
  --brand-50: #FBF6F3;
  --brand-100: #F8EEE8;
  --brand-200: #F1D9CB;
  --brand-300: #ECBEA2;
  --brand-400: #E29D74;
  --brand-500: #d97f49;
  --brand-600: #CB662A;
  --brand-700: #A95523;
  --brand-800: #87441C;
  --brand-900: #623418;
  --brand-950: #3D200F;
  --brand: #d97f49;
  --brand-ink: #000000;
}

Colors that work with #d97f49

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#EDD1C0
Hairlines and dividers
Muted text#9B694B
Captions on the surface
Accent#209BAC
Second voice, not a rival
Dark variant#6A3516
Hover, pressed, headers
Light variant#FBF0EA
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 #d97f49

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#49A3D9
Analogous left#D9495B
Analogous right#D9C749
Split-complement 1#49D9C7
Split-complement 2#495BD9
Triadic 1#49D97F
Triadic 2#7F49D9
Tetradic#5BD949

RGB percentages

Red85.1%
Green49.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta41.5%
Yellow66.4%
Key (black)14.9%

Color previews

#d97f49 text on a black background

contrast 7.08:1

Card sample

#d97f49 text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d97f49

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.

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

#d97f49, answered

What color is #d97f49?

#d97f49 is a balanced vivid orange, closest to Peru (ΔE2000 6.6). It sits at 23° on the hue wheel with 66% saturation and 57% lightness, which reads as warm.

What is the RGB value of #d97f49?

rgb(217, 127, 73) — 217 red, 127 green and 73 blue out of 255, or 85.1% / 49.8% / 28.6% by channel.

Is #d97f49 a light or a dark color?

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

Should I use black or white text on #d97f49?

Black. It scores 7.08:1 against #d97f49, versus 2.97:1 for white — AAA at any size.

What is the complementary color of #d97f49?

#49A3D9 sits directly opposite on the wheel. Softer options are the split-complements #49D9C7 and #495BD9, which give the same contrast with far less vibration.

What colors go well with #d97f49?

For interface work: #FAF7F4 as the surface, #EDD1C0 for borders, #9B694B for secondary text, #209BAC as an accent and #6A3516 for hover and pressed states. For a palette, the analogous pair #D9495B and #D9C749 stays calm, while #49A3D9 is the loudest partner.

What is #d97f49 in CMYK for printing?

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

Is #d97f49 warm or cool?

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

Work with #d97f49 in the Color Lab