Skip to content

#df111c

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

RGB
223, 17, 28
HSL
357°, 86%, 47%
CMYK
0, 92, 87, 13
Luminance
0.1617

At a glance

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

Hex
#df111c
Hue
357°
red
Saturation
86%
electric
Lightness
47%
balanced
Brightness
87%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1617
WCAG relative
Temperature
Warm
18/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.96:1
Closest name
Red
ΔE2000 7.6
Where it sits
Hue357° of 360°
Saturation86%
Lightness47%
Temperature
Warm ← → Cool18% 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#df111c
RGBrgb(223, 17, 28)
HSLhsl(357, 86%, 47%)
CMYKcmyk(0%, 92%, 87%, 13%)
LABlab(47.2 71.2 51.4)
LCHlch(47.2 87.8 35.8)
OKLCHoklch(0.573 0.228 27.2)
Decimal14618908
Display P3color(display-p3 0.875 0.067 0.110)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df111c on white: 4.96:1
AA ✓ pass · AA-large · AAA
Aa
#df111c on black: 4.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #605518
deuteranopia · #8F7F09
tritanopia · #F6001B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df111c 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
#FAE5E6
#F7C5C7
#F7979C
#F3636A
#EF2F39
#df111c
#BE0E18
#980C13
#6E0D12
#44080B
Base = 600Lightest = 50 · #FDF2F3Darkest = 950 · #44080B
:root {
  --brand-50: #FDF2F3;
  --brand-100: #FAE5E6;
  --brand-200: #F7C5C7;
  --brand-300: #F7979C;
  --brand-400: #F3636A;
  --brand-500: #EF2F39;
  --brand-600: #df111c;
  --brand-700: #BE0E18;
  --brand-800: #980C13;
  --brand-900: #6E0D12;
  --brand-950: #44080B;
  --brand: #df111c;
  --brand-ink: #ffffff;
}

Colors that work with #df111c

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#EDC0C2
Hairlines and dividers
Muted text#9B4B4F
Captions on the surface
Accent#0AC28A
Second voice, not a rival
Dark variant#76090F
Hover, pressed, headers
Light variant#FDE7E8
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 #df111c

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#11DFD4
Analogous left#DF1183
Analogous right#DF6D11
Split-complement 1#11DF6D
Split-complement 2#1183DF
Triadic 1#1CDF11
Triadic 2#111CDF
Tetradic#83DF11

RGB percentages

Red87.5%
Green6.7%
Blue11.0%

CMYK percentages

Cyan0.0%
Magenta92.4%
Yellow87.4%
Key (black)12.5%

Color previews

#df111c text on a black background

contrast 4.23:1

Card sample

#df111c text on a white background

contrast 4.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df111c

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.

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

#df111c, answered

What color is #df111c?

#df111c is a balanced electric red, closest to Red (ΔE2000 7.6). It sits at 357° on the hue wheel with 86% saturation and 47% lightness, which reads as warm.

What is the RGB value of #df111c?

rgb(223, 17, 28) — 223 red, 17 green and 28 blue out of 255, or 87.5% / 6.7% / 11% by channel.

Is #df111c a light or a dark color?

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

Should I use black or white text on #df111c?

White. It scores 4.96:1 against #df111c, versus 4.23:1 for black — AA at any size.

What is the complementary color of #df111c?

#11DFD4 sits directly opposite on the wheel. Softer options are the split-complements #11DF6D and #1183DF, which give the same contrast with far less vibration.

What colors go well with #df111c?

For interface work: #FAF4F5 as the surface, #EDC0C2 for borders, #9B4B4F for secondary text, #0AC28A as an accent and #76090F for hover and pressed states. For a palette, the analogous pair #DF1183 and #DF6D11 stays calm, while #11DFD4 is the loudest partner.

What is #df111c in CMYK for printing?

cmyk(0%, 92%, 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 #df111c warm or cool?

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

Work with #df111c in the Color Lab