Skip to content

#df1c0f

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

RGB
223, 28, 15
HSL
4°, 87%, 47%
CMYK
0, 87, 93, 13
Luminance
0.1655

At a glance

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

Hex
#df1c0f
Hue
red
Saturation
87%
electric
Lightness
47%
balanced
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1655
WCAG relative
Temperature
Warm
15/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.87:1
Closest name
Red
ΔE2000 6.2
Where it sits
Hue4° of 360°
Saturation87%
Lightness47%
Temperature
Warm ← → Cool15% 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#df1c0f
RGBrgb(223, 28, 15)
HSLhsl(4, 87%, 47%)
CMYKcmyk(0%, 87%, 93%, 13%)
LABlab(47.7 69.4 56.9)
LCHlch(47.7 89.7 39.4)
OKLCHoklch(0.576 0.225 29.7)
Decimal14621711
Display P3color(display-p3 0.875 0.110 0.059)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1c0f on white: 4.87:1
AA ✓ pass · AA-large · AAA
Aa
#df1c0f on black: 4.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #635605
deuteranopia · #908000
tritanopia · #F6001E

Color scale — 50 to 950

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

#FDF3F2
#FAE6E5
#F8C7C4
#F89C96
#F46B61
#F1392D
#df1c0f
#BF180D
#99130A
#6E120C
#450B07
Base = 600Lightest = 50 · #FDF3F2Darkest = 950 · #450B07
:root {
  --brand-50: #FDF3F2;
  --brand-100: #FAE6E5;
  --brand-200: #F8C7C4;
  --brand-300: #F89C96;
  --brand-400: #F46B61;
  --brand-500: #F1392D;
  --brand-600: #df1c0f;
  --brand-700: #BF180D;
  --brand-800: #99130A;
  --brand-900: #6E120C;
  --brand-950: #450B07;
  --brand: #df1c0f;
  --brand-ink: #ffffff;
}

Colors that work with #df1c0f

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#FAF5F4
Tinted page background
Border#EDC3C0
Hairlines and dividers
Muted text#9B504B
Captions on the surface
Accent#09C3A0
Second voice, not a rival
Dark variant#770F08
Hover, pressed, headers
Light variant#FDE9E7
Selected rows, tints
Dark surface#241514
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 #df1c0f

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#0FD2DF
Analogous left#DF0F6A
Analogous right#DF840F
Split-complement 1#0FDF84
Split-complement 2#0F6ADF
Triadic 1#0FDF1C
Triadic 2#1C0FDF
Tetradic#6ADF0F

RGB percentages

Red87.5%
Green11.0%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta87.4%
Yellow93.3%
Key (black)12.5%

Color previews

#df1c0f text on a black background

contrast 4.31:1

Card sample

#df1c0f text on a white background

contrast 4.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1c0f

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.

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

#df1c0f, answered

What color is #df1c0f?

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

What is the RGB value of #df1c0f?

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

Is #df1c0f a light or a dark color?

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

Should I use black or white text on #df1c0f?

White. It scores 4.87:1 against #df1c0f, versus 4.31:1 for black — AA at any size.

What is the complementary color of #df1c0f?

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

What colors go well with #df1c0f?

For interface work: #FAF5F4 as the surface, #EDC3C0 for borders, #9B504B for secondary text, #09C3A0 as an accent and #770F08 for hover and pressed states. For a palette, the analogous pair #DF0F6A and #DF840F stays calm, while #0FD2DF is the loudest partner.

What is #df1c0f in CMYK for printing?

cmyk(0%, 87%, 93%, 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 #df1c0f warm or cool?

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

Work with #df1c0f in the Color Lab