Skip to content

#df751b

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

RGB
223, 117, 27
HSL
28°, 78%, 49%
CMYK
0, 48, 88, 13
Luminance
0.2849

At a glance

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

Hex
#df751b
Hue
28°
orange
Saturation
78%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2849
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
6.70:1
Closest name
Chocolate
ΔE2000 4.6
Where it sits
Hue28° of 360°
Saturation78%
Lightness49%
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#df751b
RGBrgb(223, 117, 27)
HSLhsl(28, 78%, 49%)
CMYKcmyk(0%, 48%, 88%, 13%)
LABlab(60.3 36.0 62.0)
LCHlch(60.3 71.7 59.8)
OKLCHoklch(0.671 0.160 53.7)
Decimal14644507
Display P3color(display-p3 0.875 0.459 0.106)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df751b on white: 3.14:1
AA ✗ fail · AA-large · AAA
Aa
#df751b on black: 6.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #948300
deuteranopia · #AE9B19
tritanopia · #F55D65

Color scale — 50 to 950

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

#FCF7F3
#F9EFE6
#F5DCC7
#F3C39B
#EDA669
#E78837
#df751b
#B66016
#924C12
#693A11
#42240B
Base = 600Lightest = 50 · #FCF7F3Darkest = 950 · #42240B
:root {
  --brand-50: #FCF7F3;
  --brand-100: #F9EFE6;
  --brand-200: #F5DCC7;
  --brand-300: #F3C39B;
  --brand-400: #EDA669;
  --brand-500: #E78837;
  --brand-600: #df751b;
  --brand-700: #B66016;
  --brand-800: #924C12;
  --brand-900: #693A11;
  --brand-950: #42240B;
  --brand: #df751b;
  --brand-ink: #000000;
}

Colors that work with #df751b

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#EDD4C0
Hairlines and dividers
Muted text#9B704B
Captions on the surface
Accent#1297BA
Second voice, not a rival
Dark variant#723C0E
Hover, pressed, headers
Light variant#FCF1E8
Selected rows, tints
Dark surface#241B14
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 #df751b

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#1B85DF
Analogous left#DF1B23
Analogous right#DFD71B
Split-complement 1#1BDFD7
Split-complement 2#1B23DF
Triadic 1#1BDF75
Triadic 2#751BDF
Tetradic#23DF1B

RGB percentages

Red87.5%
Green45.9%
Blue10.6%

CMYK percentages

Cyan0.0%
Magenta47.5%
Yellow87.9%
Key (black)12.5%

Color previews

#df751b text on a black background

contrast 6.70:1

Card sample

#df751b text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df751b

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.

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

#df751b, answered

What color is #df751b?

#df751b is a balanced electric orange, closest to Chocolate (ΔE2000 4.6). It sits at 28° on the hue wheel with 78% saturation and 49% lightness, which reads as warm.

What is the RGB value of #df751b?

rgb(223, 117, 27) — 223 red, 117 green and 27 blue out of 255, or 87.5% / 45.9% / 10.6% by channel.

Is #df751b a light or a dark color?

It is a mid-tone. Relative luminance is 0.2849 and perceived brightness is 59%, so black text on it reaches 6.70:1.

Should I use black or white text on #df751b?

Black. It scores 6.70:1 against #df751b, versus 3.14:1 for white — AA at any size.

What is the complementary color of #df751b?

#1B85DF sits directly opposite on the wheel. Softer options are the split-complements #1BDFD7 and #1B23DF, which give the same contrast with far less vibration.

What colors go well with #df751b?

For interface work: #FAF7F4 as the surface, #EDD4C0 for borders, #9B704B for secondary text, #1297BA as an accent and #723C0E for hover and pressed states. For a palette, the analogous pair #DF1B23 and #DFD71B stays calm, while #1B85DF is the loudest partner.

What is #df751b in CMYK for printing?

cmyk(0%, 48%, 88%, 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 #df751b 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 #E67F2E; nudged cooler, #E12B18.

Work with #df751b in the Color Lab