Skip to content

#df052d

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

RGB
223, 5, 45
HSL
349°, 96%, 45%
CMYK
0, 98, 80, 13
Luminance
0.1599

At a glance

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

Hex
#df052d
Hue
349°
red
Saturation
96%
electric
Lightness
45%
dark
Brightness
87%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1599
WCAG relative
Temperature
Warm
23/100 cool
Color family
Red
Tone
Electric
Best ink
White
5.00:1
Closest name
Crimson
ΔE2000 3.7
Where it sits
Hue349° of 360°
Saturation96%
Lightness45%
Temperature
Warm ← → Cool23% 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#df052d
RGBrgb(223, 5, 45)
HSLhsl(349, 96%, 45%)
CMYKcmyk(0%, 98%, 80%, 13%)
LABlab(47.0 72.7 42.4)
LCHlch(47.0 84.1 30.3)
OKLCHoklch(0.571 0.229 23.4)
Decimal14615853
Display P3color(display-p3 0.875 0.020 0.176)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df052d on white: 5.00:1
AA ✓ pass · AA-large · AAA
Aa
#df052d on black: 4.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5D542B
deuteranopia · #8D7E23
tritanopia · #F6001D

Color scale — 50 to 950

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

#FDF1F4
#FCE4E8
#FAC1CC
#FD91A5
#FB5A78
#FA244B
#df052d
#C80428
#A00420
#73071B
#480511
Base = 600Lightest = 50 · #FDF1F4Darkest = 950 · #480511
:root {
  --brand-50: #FDF1F4;
  --brand-100: #FCE4E8;
  --brand-200: #FAC1CC;
  --brand-300: #FD91A5;
  --brand-400: #FB5A78;
  --brand-500: #FA244B;
  --brand-600: #df052d;
  --brand-700: #C80428;
  --brand-800: #A00420;
  --brand-900: #73071B;
  --brand-950: #480511;
  --brand: #df052d;
  --brand-ink: #ffffff;
}

Colors that work with #df052d

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#EDC0C8
Hairlines and dividers
Muted text#9B4B59
Captions on the surface
Accent#00CC73
Second voice, not a rival
Dark variant#7D0319
Hover, pressed, headers
Light variant#FEE6EB
Selected rows, tints
Dark surface#241417
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 #df052d

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#05DFB7
Analogous left#DF059A
Analogous right#DF4A05
Split-complement 1#05DF4A
Split-complement 2#059ADF
Triadic 1#2DDF05
Triadic 2#052DDF
Tetradic#9ADF05

RGB percentages

Red87.5%
Green2.0%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta97.8%
Yellow79.8%
Key (black)12.5%

Color previews

#df052d text on a black background

contrast 4.20:1

Card sample

#df052d text on a white background

contrast 5.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df052d

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.

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

#df052d, answered

What color is #df052d?

#df052d is a dark electric red, closest to Crimson (ΔE2000 3.7). It sits at 349° on the hue wheel with 96% saturation and 45% lightness, which reads as warm.

What is the RGB value of #df052d?

rgb(223, 5, 45) — 223 red, 5 green and 45 blue out of 255, or 87.5% / 2% / 17.6% by channel.

Is #df052d a light or a dark color?

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

Should I use black or white text on #df052d?

White. It scores 5.00:1 against #df052d, versus 4.20:1 for black — AA at any size.

What is the complementary color of #df052d?

#05DFB7 sits directly opposite on the wheel. Softer options are the split-complements #05DF4A and #059ADF, which give the same contrast with far less vibration.

What colors go well with #df052d?

For interface work: #FAF4F5 as the surface, #EDC0C8 for borders, #9B4B59 for secondary text, #00CC73 as an accent and #7D0319 for hover and pressed states. For a palette, the analogous pair #DF059A and #DF4A05 stays calm, while #05DFB7 is the loudest partner.

What is #df052d in CMYK for printing?

cmyk(0%, 98%, 80%, 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 #df052d warm or cool?

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

Work with #df052d in the Color Lab