Skip to content

#df291d

a balanced, electric red · warm · closest name: Red

RGB
223, 41, 29
HSL
4°, 77%, 49%
CMYK
0, 82, 87, 13
Luminance
0.1736

At a glance

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

Hex
#df291d
Hue
red
Saturation
77%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1736
WCAG relative
Temperature
Warm
15/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.70:1
Closest name
Red
ΔE2000 6.1
Where it sits
Hue4° of 360°
Saturation77%
Lightness49%
Temperature
Warm ← → Cool15% 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#df291d
RGBrgb(223, 41, 29)
HSLhsl(4, 77%, 49%)
CMYKcmyk(0%, 82%, 87%, 13%)
LABlab(48.7 66.9 52.1)
LCHlch(48.7 84.8 37.9)
OKLCHoklch(0.584 0.217 29.4)
Decimal14625053
Display P3color(display-p3 0.875 0.161 0.114)

Copy-ready code

/* CSS */
color: #df291d;
background-color: #df291d;
/* Tailwind (arbitrary) */
class="text-[#df291d] bg-[#df291d]"
/* SCSS */
$brand: #df291d;
/* SwiftUI */
Color(red: 0.875, green: 0.161, blue: 0.114)
/* Android */
Color.parseColor("#df291d")
/* Flutter */
Color(0xFFDF291D)
/* Python / OpenCV (BGR) */
(29, 41, 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#ffffff on #df291d · 4.70:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.70:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.47:1
AA fail · AA large pass · AAA fail
Reading the other direction: #df291d as text scores 4.70:1 on white and 4.47:1 on black.

Accessibility — WCAG contrast

Aa
#df291d on white: 4.70:1
AA ✓ pass · AA-large · AAA
Aa
#df291d on black: 4.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #665A18
deuteranopia · #92820D
tritanopia · #F60029

Color scale — 50 to 950

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

#FCF3F3
#F9E8E7
#F4CAC7
#F2A19C
#EC726A
#E54338
#df291d
#B52117
#901B13
#691712
#410E0B
Base = 600Lightest = 50 · #FCF3F3Darkest = 950 · #410E0B
:root {
  --brand-50: #FCF3F3;
  --brand-100: #F9E8E7;
  --brand-200: #F4CAC7;
  --brand-300: #F2A19C;
  --brand-400: #EC726A;
  --brand-500: #E54338;
  --brand-600: #df291d;
  --brand-700: #B52117;
  --brand-800: #901B13;
  --brand-900: #691712;
  --brand-950: #410E0B;
  --brand: #df291d;
  --brand-ink: #ffffff;
}

Colors that work with #df291d

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF5F4
Tinted page background
Border#EDC3C0
Hairlines and dividers
Muted text#9B504B
Captions on the surface
Accent#13B99A
Second voice, not a rival
Dark variant#71150F
Hover, pressed, headers
Light variant#FCEAE8
Selected rows, tints
Dark surface#241514
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 #df291d

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#1DD3DF
Analogous left#DF1D72
Analogous right#DF8A1D
Split-complement 1#1DDF8A
Split-complement 2#1D72DF
Triadic 1#1DDF29
Triadic 2#291DDF
Tetradic#72DF1D

RGB percentages

Red87.5%
Green16.1%
Blue11.4%

CMYK percentages

Cyan0.0%
Magenta81.6%
Yellow87.0%
Key (black)12.5%

Color previews

#df291d text on a black background

contrast 4.47:1

Card sample

#df291d text on a white background

contrast 4.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df291d

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.

#df291d in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#df291d, answered

What color is #df291d?

#df291d is a balanced electric red, closest to Red (ΔE2000 6.1). It sits at 4° on the hue wheel with 77% saturation and 49% lightness, which reads as warm.

What is the RGB value of #df291d?

rgb(223, 41, 29) — 223 red, 41 green and 29 blue out of 255, or 87.5% / 16.1% / 11.4% by channel.

Is #df291d a light or a dark color?

It is a dark color. Relative luminance is 0.1736 and perceived brightness is 50%, so white text on it reaches 4.70:1.

Should I use black or white text on #df291d?

White. It scores 4.70:1 against #df291d, versus 4.47:1 for black — AA at any size.

What is the complementary color of #df291d?

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

What colors go well with #df291d?

For interface work: #FAF5F4 as the surface, #EDC3C0 for borders, #9B504B for secondary text, #13B99A as an accent and #71150F for hover and pressed states. For a palette, the analogous pair #DF1D72 and #DF8A1D stays calm, while #1DD3DF is the loudest partner.

What is #df291d in CMYK for printing?

cmyk(0%, 82%, 87%, 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 #df291d warm or cool?

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

Work with #df291d in the Color Lab