Skip to content

#df1f2b

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

RGB
223, 31, 43
HSL
356°, 76%, 50%
CMYK
0, 86, 81, 13
Luminance
0.1684

At a glance

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

Hex
#df1f2b
Hue
356°
red
Saturation
76%
electric
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1684
WCAG relative
Temperature
Warm
19/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.81:1
Closest name
Crimson
ΔE2000 5.4
Where it sits
Hue356° of 360°
Saturation76%
Lightness50%
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#df1f2b
RGBrgb(223, 31, 43)
HSLhsl(356, 76%, 50%)
CMYKcmyk(0%, 86%, 81%, 13%)
LABlab(48.1 69.3 44.6)
LCHlch(48.1 82.5 32.8)
OKLCHoklch(0.579 0.221 25.5)
Decimal14622507
Display P3color(display-p3 0.875 0.122 0.169)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1f2b on white: 4.81:1
AA ✓ pass · AA-large · AAA
Aa
#df1f2b on black: 4.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #625829
deuteranopia · #908021
tritanopia · #F60027

Color scale — 50 to 950

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

#FCF3F3
#F9E7E8
#F4C8CB
#F19CA2
#EA6B73
#E43A44
#df1f2b
#B31922
#8F141C
#681318
#410C0F
Base = 600Lightest = 50 · #FCF3F3Darkest = 950 · #410C0F
:root {
  --brand-50: #FCF3F3;
  --brand-100: #F9E7E8;
  --brand-200: #F4C8CB;
  --brand-300: #F19CA2;
  --brand-400: #EA6B73;
  --brand-500: #E43A44;
  --brand-600: #df1f2b;
  --brand-700: #B31922;
  --brand-800: #8F141C;
  --brand-900: #681318;
  --brand-950: #410C0F;
  --brand: #df1f2b;
  --brand-ink: #ffffff;
}

Colors that work with #df1f2b

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#15B785
Second voice, not a rival
Dark variant#701015
Hover, pressed, headers
Light variant#FCE9EA
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 #df1f2b

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#1FDFD3
Analogous left#DF1F8B
Analogous right#DF731F
Split-complement 1#1FDF73
Split-complement 2#1F8BDF
Triadic 1#2BDF1F
Triadic 2#1F2BDF
Tetradic#8BDF1F

RGB percentages

Red87.5%
Green12.2%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta86.1%
Yellow80.7%
Key (black)12.5%

Color previews

#df1f2b text on a black background

contrast 4.37:1

Card sample

#df1f2b text on a white background

contrast 4.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1f2b

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.

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

#df1f2b, answered

What color is #df1f2b?

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

What is the RGB value of #df1f2b?

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

Is #df1f2b a light or a dark color?

It is a dark color. Relative luminance is 0.1684 and perceived brightness is 49%, so white text on it reaches 4.81:1.

Should I use black or white text on #df1f2b?

White. It scores 4.81:1 against #df1f2b, versus 4.37:1 for black — AA at any size.

What is the complementary color of #df1f2b?

#1FDFD3 sits directly opposite on the wheel. Softer options are the split-complements #1FDF73 and #1F8BDF, which give the same contrast with far less vibration.

What colors go well with #df1f2b?

For interface work: #FAF4F5 as the surface, #EDC0C3 for borders, #9B4B50 for secondary text, #15B785 as an accent and #701015 for hover and pressed states. For a palette, the analogous pair #DF1F8B and #DF731F stays calm, while #1FDFD3 is the loudest partner.

What is #df1f2b in CMYK for printing?

cmyk(0%, 86%, 81%, 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 #df1f2b 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 #DF471F; nudged cooler, #E21C71.

Work with #df1f2b in the Color Lab