Skip to content

#df0e21

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

RGB
223, 14, 33
HSL
355°, 88%, 47%
CMYK
0, 94, 85, 13
Luminance
0.1611

At a glance

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

Hex
#df0e21
Hue
355°
red
Saturation
88%
electric
Lightness
47%
balanced
Brightness
87%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1611
WCAG relative
Temperature
Warm
20/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.97:1
Closest name
Crimson
ΔE2000 6.7
Where it sits
Hue355° of 360°
Saturation88%
Lightness47%
Temperature
Warm ← → Cool20% 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#df0e21
RGBrgb(223, 14, 33)
HSLhsl(355, 88%, 47%)
CMYKcmyk(0%, 94%, 85%, 13%)
LABlab(47.1 71.6 49.0)
LCHlch(47.1 86.7 34.4)
OKLCHoklch(0.572 0.228 26.2)
Decimal14618145
Display P3color(display-p3 0.875 0.055 0.129)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0e21 on white: 4.97:1
AA ✓ pass · AA-large · AAA
Aa
#df0e21 on black: 4.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F541E
deuteranopia · #8E7E12
tritanopia · #F6001B

Color scale — 50 to 950

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

#FDF2F3
#FAE5E7
#F8C4C9
#F8959E
#F5616E
#F22C3E
#df0e21
#C00C1D
#9A0A17
#6F0C15
#45070D
Base = 600Lightest = 50 · #FDF2F3Darkest = 950 · #45070D
:root {
  --brand-50: #FDF2F3;
  --brand-100: #FAE5E7;
  --brand-200: #F8C4C9;
  --brand-300: #F8959E;
  --brand-400: #F5616E;
  --brand-500: #F22C3E;
  --brand-600: #df0e21;
  --brand-700: #C00C1D;
  --brand-800: #9A0A17;
  --brand-900: #6F0C15;
  --brand-950: #45070D;
  --brand: #df0e21;
  --brand-ink: #ffffff;
}

Colors that work with #df0e21

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#FAF4F5
Tinted page background
Border#EDC0C4
Hairlines and dividers
Muted text#9B4B52
Captions on the surface
Accent#08C484
Second voice, not a rival
Dark variant#780812
Hover, pressed, headers
Light variant#FDE7E9
Selected rows, tints
Dark surface#241415
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 #df0e21

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#0EDFCC
Analogous left#DF0E8A
Analogous right#DF630E
Split-complement 1#0EDF63
Split-complement 2#0E8ADF
Triadic 1#21DF0E
Triadic 2#0E21DF
Tetradic#8ADF0E

RGB percentages

Red87.5%
Green5.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta93.7%
Yellow85.2%
Key (black)12.5%

Color previews

#df0e21 text on a black background

contrast 4.22:1

Card sample

#df0e21 text on a white background

contrast 4.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0e21

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.

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

#df0e21, answered

What color is #df0e21?

#df0e21 is a balanced electric red, closest to Crimson (ΔE2000 6.7). It sits at 355° on the hue wheel with 88% saturation and 47% lightness, which reads as warm.

What is the RGB value of #df0e21?

rgb(223, 14, 33) — 223 red, 14 green and 33 blue out of 255, or 87.5% / 5.5% / 12.9% by channel.

Is #df0e21 a light or a dark color?

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

Should I use black or white text on #df0e21?

White. It scores 4.97:1 against #df0e21, versus 4.22:1 for black — AA at any size.

What is the complementary color of #df0e21?

#0EDFCC sits directly opposite on the wheel. Softer options are the split-complements #0EDF63 and #0E8ADF, which give the same contrast with far less vibration.

What colors go well with #df0e21?

For interface work: #FAF4F5 as the surface, #EDC0C4 for borders, #9B4B52 for secondary text, #08C484 as an accent and #780812 for hover and pressed states. For a palette, the analogous pair #DF0E8A and #DF630E stays calm, while #0EDFCC is the loudest partner.

What is #df0e21 in CMYK for printing?

cmyk(0%, 94%, 85%, 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 #df0e21 warm or cool?

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

Work with #df0e21 in the Color Lab