Skip to content

#df2807

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

RGB
223, 40, 7
HSL
9°, 94%, 45%
CMYK
0, 82, 97, 13
Luminance
0.1722

At a glance

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

Hex
#df2807
Hue
red
Saturation
94%
electric
Lightness
45%
balanced
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1722
WCAG relative
Temperature
Warm
12/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.73:1
Closest name
Red
ΔE2000 5.6
Where it sits
Hue9° of 360°
Saturation94%
Lightness45%
Temperature
Warm ← → Cool12% 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#df2807
RGBrgb(223, 40, 7)
HSLhsl(9, 94%, 45%)
CMYKcmyk(0%, 82%, 97%, 13%)
LABlab(48.5 66.8 59.6)
LCHlch(48.5 89.5 41.7)
OKLCHoklch(0.582 0.219 31.6)
Decimal14624775
Display P3color(display-p3 0.875 0.157 0.027)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2807 on white: 4.73:1
AA ✓ pass · AA-large · AAA
Aa
#df2807 on black: 4.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #675A00
deuteranopia · #928100
tritanopia · #F60025

Color scale — 50 to 950

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

#FDF3F2
#FBE8E4
#FACBC2
#FCA292
#FA745C
#F84625
#df2807
#C62406
#9E1C05
#721908
#470F05
Base = 600Lightest = 50 · #FDF3F2Darkest = 950 · #470F05
:root {
  --brand-50: #FDF3F2;
  --brand-100: #FBE8E4;
  --brand-200: #FACBC2;
  --brand-300: #FCA292;
  --brand-400: #FA745C;
  --brand-500: #F84625;
  --brand-600: #df2807;
  --brand-700: #C62406;
  --brand-800: #9E1C05;
  --brand-900: #721908;
  --brand-950: #470F05;
  --brand: #df2807;
  --brand-ink: #ffffff;
}

Colors that work with #df2807

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#EDC7C0
Hairlines and dividers
Muted text#9B574B
Captions on the surface
Accent#02CAB7
Second voice, not a rival
Dark variant#7C1604
Hover, pressed, headers
Light variant#FEEAE6
Selected rows, tints
Dark surface#241614
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 #df2807

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#07BEDF
Analogous left#DF0752
Analogous right#DF9407
Split-complement 1#07DF94
Split-complement 2#0752DF
Triadic 1#07DF28
Triadic 2#2807DF
Tetradic#52DF07

RGB percentages

Red87.5%
Green15.7%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta82.1%
Yellow96.9%
Key (black)12.5%

Color previews

#df2807 text on a black background

contrast 4.44:1

Card sample

#df2807 text on a white background

contrast 4.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2807

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.

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

#df2807, answered

What color is #df2807?

#df2807 is a balanced electric red, closest to Red (ΔE2000 5.6). It sits at 9° on the hue wheel with 94% saturation and 45% lightness, which reads as warm.

What is the RGB value of #df2807?

rgb(223, 40, 7) — 223 red, 40 green and 7 blue out of 255, or 87.5% / 15.7% / 2.7% by channel.

Is #df2807 a light or a dark color?

It is a dark color. Relative luminance is 0.1722 and perceived brightness is 49%, so white text on it reaches 4.73:1.

Should I use black or white text on #df2807?

White. It scores 4.73:1 against #df2807, versus 4.44:1 for black — AA at any size.

What is the complementary color of #df2807?

#07BEDF sits directly opposite on the wheel. Softer options are the split-complements #07DF94 and #0752DF, which give the same contrast with far less vibration.

What colors go well with #df2807?

For interface work: #FAF5F4 as the surface, #EDC7C0 for borders, #9B574B for secondary text, #02CAB7 as an accent and #7C1604 for hover and pressed states. For a palette, the analogous pair #DF0752 and #DF9407 stays calm, while #07BEDF is the loudest partner.

What is #df2807 in CMYK for printing?

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

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

Work with #df2807 in the Color Lab