Skip to content

#df111f

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

RGB
223, 17, 31
HSL
356°, 86%, 47%
CMYK
0, 92, 86, 13
Luminance
0.1619

At a glance

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

Hex
#df111f
Hue
356°
red
Saturation
86%
electric
Lightness
47%
balanced
Brightness
87%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1619
WCAG relative
Temperature
Warm
19/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.96:1
Closest name
Crimson
ΔE2000 7.2
Where it sits
Hue356° of 360°
Saturation86%
Lightness47%
Temperature
Warm ← → Cool19% 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#df111f
RGBrgb(223, 17, 31)
HSLhsl(356, 86%, 47%)
CMYKcmyk(0%, 92%, 86%, 13%)
LABlab(47.2 71.2 50.0)
LCHlch(47.2 87.0 35.1)
OKLCHoklch(0.573 0.227 26.7)
Decimal14618911
Display P3color(display-p3 0.875 0.067 0.122)

Copy-ready code

/* CSS */
color: #df111f;
background-color: #df111f;
/* Tailwind (arbitrary) */
class="text-[#df111f] bg-[#df111f]"
/* SCSS */
$brand: #df111f;
/* SwiftUI */
Color(red: 0.875, green: 0.067, blue: 0.122)
/* Android */
Color.parseColor("#df111f")
/* Flutter */
Color(0xFFDF111F)
/* Python / OpenCV (BGR) */
(31, 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 #df111f · 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.24:1
AA fail · AA large pass · AAA fail
Reading the other direction: #df111f as text scores 4.96:1 on white and 4.24:1 on black.

Accessibility — WCAG contrast

Aa
#df111f on white: 4.96:1
AA ✓ pass · AA-large · AAA
Aa
#df111f on black: 4.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F551B
deuteranopia · #8F7F0F
tritanopia · #F6001C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df111f 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
#F7C5C8
#F7979D
#F3636D
#EF2F3C
#df111f
#BE0E1A
#980C15
#6E0D13
#44080C
Base = 600Lightest = 50 · #FDF2F3Darkest = 950 · #44080C
:root {
  --brand-50: #FDF2F3;
  --brand-100: #FAE5E7;
  --brand-200: #F7C5C8;
  --brand-300: #F7979D;
  --brand-400: #F3636D;
  --brand-500: #EF2F3C;
  --brand-600: #df111f;
  --brand-700: #BE0E1A;
  --brand-800: #980C15;
  --brand-900: #6E0D13;
  --brand-950: #44080C;
  --brand: #df111f;
  --brand-ink: #ffffff;
}

Colors that work with #df111f

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#EDC0C3
Hairlines and dividers
Muted text#9B4B50
Captions on the surface
Accent#0AC287
Second voice, not a rival
Dark variant#760911
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 #df111f

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#11DFD1
Analogous left#DF1186
Analogous right#DF6A11
Split-complement 1#11DF6A
Split-complement 2#1186DF
Triadic 1#1FDF11
Triadic 2#111FDF
Tetradic#86DF11

RGB percentages

Red87.5%
Green6.7%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta92.4%
Yellow86.1%
Key (black)12.5%

Color previews

#df111f text on a black background

contrast 4.24:1

Card sample

#df111f text on a white background

contrast 4.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df111f

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.

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

#df111f, answered

What color is #df111f?

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

What is the RGB value of #df111f?

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

Is #df111f a light or a dark color?

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

Should I use black or white text on #df111f?

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

What is the complementary color of #df111f?

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

What colors go well with #df111f?

For interface work: #FAF4F5 as the surface, #EDC0C3 for borders, #9B4B50 for secondary text, #0AC287 as an accent and #760911 for hover and pressed states. For a palette, the analogous pair #DF1186 and #DF6A11 stays calm, while #11DFD1 is the loudest partner.

What is #df111f in CMYK for printing?

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

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

Work with #df111f in the Color Lab