Skip to content

#dc7f13

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

RGB
220, 127, 19
HSL
32°, 84%, 47%
CMYK
0, 42, 91, 14
Luminance
0.3044

At a glance

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

Hex
#dc7f13
Hue
32°
orange
Saturation
84%
electric
Lightness
47%
balanced
Brightness
86%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3044
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.09:1
Closest name
Peru
ΔE2000 5
Where it sits
Hue32° of 360°
Saturation84%
Lightness47%
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#dc7f13
RGBrgb(220, 127, 19)
HSLhsl(32, 84%, 47%)
CMYKcmyk(0%, 42%, 91%, 14%)
LABlab(62.0 29.5 65.2)
LCHlch(62.0 71.6 65.7)
OKLCHoklch(0.684 0.154 60.9)
Decimal14450451
Display P3color(display-p3 0.863 0.498 0.075)

Copy-ready code

/* CSS */
color: #dc7f13;
background-color: #dc7f13;
/* Tailwind (arbitrary) */
class="text-[#dc7f13] bg-[#dc7f13]"
/* SCSS */
$brand: #dc7f13;
/* SwiftUI */
Color(red: 0.863, green: 0.498, blue: 0.075)
/* Android */
Color.parseColor("#dc7f13")
/* Flutter */
Color(0xFFDC7F13)
/* Python / OpenCV (BGR) */
(19, 127, 220)

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

Accessibility — WCAG contrast

Aa
#dc7f13 on white: 2.96:1
AA ✗ fail · AA-large · AAA
Aa
#dc7f13 on black: 7.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9C8900
deuteranopia · #B29E14
tritanopia · #F1696D

Color scale — 50 to 950

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

#FCF8F2
#FAF0E6
#F6E0C5
#F6CA98
#F2B064
#ED9630
#dc7f13
#BC6C10
#96570D
#6D410E
#442809
Base = 600Lightest = 50 · #FCF8F2Darkest = 950 · #442809
:root {
  --brand-50: #FCF8F2;
  --brand-100: #FAF0E6;
  --brand-200: #F6E0C5;
  --brand-300: #F6CA98;
  --brand-400: #F2B064;
  --brand-500: #ED9630;
  --brand-600: #dc7f13;
  --brand-700: #BC6C10;
  --brand-800: #96570D;
  --brand-900: #6D410E;
  --brand-950: #442809;
  --brand: #dc7f13;
  --brand-ink: #000000;
}

Colors that work with #dc7f13

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#9B764B
Captions on the surface
Accent#0C8DC0
Second voice, not a rival
Dark variant#75440A
Hover, pressed, headers
Light variant#FDF3E8
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 #dc7f13

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#1370DC
Analogous left#DC1A13
Analogous right#D5DC13
Split-complement 1#13D5DC
Split-complement 2#1A13DC
Triadic 1#13DC7F
Triadic 2#7F13DC
Tetradic#13DC1A

RGB percentages

Red86.3%
Green49.8%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta42.3%
Yellow91.4%
Key (black)13.7%

Color previews

#dc7f13 text on a black background

contrast 7.09:1

Card sample

#dc7f13 text on a white background

contrast 2.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc7f13

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.

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

#dc7f13, answered

What color is #dc7f13?

#dc7f13 is a balanced electric orange, closest to Peru (ΔE2000 5). It sits at 32° on the hue wheel with 84% saturation and 47% lightness, which reads as warm.

What is the RGB value of #dc7f13?

rgb(220, 127, 19) — 220 red, 127 green and 19 blue out of 255, or 86.3% / 49.8% / 7.5% by channel.

Is #dc7f13 a light or a dark color?

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

Should I use black or white text on #dc7f13?

Black. It scores 7.09:1 against #dc7f13, versus 2.96:1 for white — AAA at any size.

What is the complementary color of #dc7f13?

#1370DC sits directly opposite on the wheel. Softer options are the split-complements #13D5DC and #1A13DC, which give the same contrast with far less vibration.

What colors go well with #dc7f13?

For interface work: #FAF8F4 as the surface, #EDD8C0 for borders, #9B764B for secondary text, #0C8DC0 as an accent and #75440A for hover and pressed states. For a palette, the analogous pair #DC1A13 and #D5DC13 stays calm, while #1370DC is the loudest partner.

What is #dc7f13 in CMYK for printing?

cmyk(0%, 42%, 91%, 14%). 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 #dc7f13 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 #EB801D; nudged cooler, #DFAB11.

Work with #dc7f13 in the Color Lab