Skip to content

#df0b02

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

RGB
223, 11, 2
HSL
2°, 98%, 44%
CMYK
0, 95, 99, 13
Luminance
0.1593

At a glance

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

Hex
#df0b02
Hue
red
Saturation
98%
electric
Lightness
44%
dark
Brightness
87%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1593
WCAG relative
Temperature
Warm
15/100 cool
Color family
Red
Tone
Electric
Best ink
White
5.02:1
Closest name
Red
ΔE2000 6.7
Where it sits
Hue2° of 360°
Saturation98%
Lightness44%
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#df0b02
RGBrgb(223, 11, 2)
HSLhsl(2, 98%, 44%)
CMYKcmyk(0%, 95%, 99%, 13%)
LABlab(46.9 71.5 60.2)
LCHlch(46.9 93.5 40.1)
OKLCHoklch(0.570 0.231 29.5)
Decimal14617346
Display P3color(display-p3 0.875 0.043 0.008)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0b02 on white: 5.02:1
AA ✓ pass · AA-large · AAA
Aa
#df0b02 on black: 4.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #605300
deuteranopia · #8F7E00
tritanopia · #F70012

Color scale — 50 to 950

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

#FDF2F1
#FCE4E3
#FBC3C1
#FE9490
#FD5F58
#FD2921
#df0b02
#CA0A02
#A20801
#740A06
#490604
Base = 600Lightest = 50 · #FDF2F1Darkest = 950 · #490604
:root {
  --brand-50: #FDF2F1;
  --brand-100: #FCE4E3;
  --brand-200: #FBC3C1;
  --brand-300: #FE9490;
  --brand-400: #FD5F58;
  --brand-500: #FD2921;
  --brand-600: #df0b02;
  --brand-700: #CA0A02;
  --brand-800: #A20801;
  --brand-900: #740A06;
  --brand-950: #490604;
  --brand: #df0b02;
  --brand-ink: #ffffff;
}

Colors that work with #df0b02

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#EDC2C0
Hairlines and dividers
Muted text#9B4E4B
Captions on the surface
Accent#00CCA2
Second voice, not a rival
Dark variant#7E0601
Hover, pressed, headers
Light variant#FFE7E6
Selected rows, tints
Dark surface#241414
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 #df0b02

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#02D6DF
Analogous left#DF0268
Analogous right#DF7902
Split-complement 1#02DF79
Split-complement 2#0268DF
Triadic 1#02DF0B
Triadic 2#0B02DF
Tetradic#68DF02

RGB percentages

Red87.5%
Green4.3%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta95.1%
Yellow99.1%
Key (black)12.5%

Color previews

#df0b02 text on a black background

contrast 4.19:1

Card sample

#df0b02 text on a white background

contrast 5.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0b02

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.

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

#df0b02, answered

What color is #df0b02?

#df0b02 is a dark electric red, closest to Red (ΔE2000 6.7). It sits at 2° on the hue wheel with 98% saturation and 44% lightness, which reads as warm.

What is the RGB value of #df0b02?

rgb(223, 11, 2) — 223 red, 11 green and 2 blue out of 255, or 87.5% / 4.3% / 0.8% by channel.

Is #df0b02 a light or a dark color?

It is a dark color. Relative luminance is 0.1593 and perceived brightness is 48%, so white text on it reaches 5.02:1.

Should I use black or white text on #df0b02?

White. It scores 5.02:1 against #df0b02, versus 4.19:1 for black — AA at any size.

What is the complementary color of #df0b02?

#02D6DF sits directly opposite on the wheel. Softer options are the split-complements #02DF79 and #0268DF, which give the same contrast with far less vibration.

What colors go well with #df0b02?

For interface work: #FAF5F4 as the surface, #EDC2C0 for borders, #9B4E4B for secondary text, #00CCA2 as an accent and #7E0601 for hover and pressed states. For a palette, the analogous pair #DF0268 and #DF7902 stays calm, while #02D6DF is the loudest partner.

What is #df0b02 in CMYK for printing?

cmyk(0%, 95%, 99%, 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 #df0b02 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 #DF3602; nudged cooler, #E10049.

Work with #df0b02 in the Color Lab