Skip to content

#df150f

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

RGB
223, 21, 15
HSL
2°, 87%, 47%
CMYK
0, 91, 93, 13
Luminance
0.1626

At a glance

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

Hex
#df150f
Hue
red
Saturation
87%
electric
Lightness
47%
balanced
Brightness
87%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1626
WCAG relative
Temperature
Warm
16/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.94:1
Closest name
Red
ΔE2000 6.5
Where it sits
Hue2° of 360°
Saturation87%
Lightness47%
Temperature
Warm ← → Cool16% 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#df150f
RGBrgb(223, 21, 15)
HSLhsl(2, 87%, 47%)
CMYKcmyk(0%, 91%, 93%, 13%)
LABlab(47.3 70.5 56.7)
LCHlch(47.3 90.4 38.8)
OKLCHoklch(0.573 0.227 29.1)
Decimal14619919
Display P3color(display-p3 0.875 0.082 0.059)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df150f on white: 4.94:1
AA ✓ pass · AA-large · AAA
Aa
#df150f on black: 4.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #615506
deuteranopia · #8F7F00
tritanopia · #F6001A

Color scale — 50 to 950

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

#FDF2F2
#FAE6E5
#F8C6C4
#F89996
#F46561
#F1322D
#df150f
#BF120D
#990E0A
#6E0F0C
#450907
Base = 600Lightest = 50 · #FDF2F2Darkest = 950 · #450907
:root {
  --brand-50: #FDF2F2;
  --brand-100: #FAE6E5;
  --brand-200: #F8C6C4;
  --brand-300: #F89996;
  --brand-400: #F46561;
  --brand-500: #F1322D;
  --brand-600: #df150f;
  --brand-700: #BF120D;
  --brand-800: #990E0A;
  --brand-900: #6E0F0C;
  --brand-950: #450907;
  --brand: #df150f;
  --brand-ink: #ffffff;
}

Colors that work with #df150f

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#FAF4F4
Tinted page background
Border#EDC1C0
Hairlines and dividers
Muted text#9B4D4B
Captions on the surface
Accent#09C39A
Second voice, not a rival
Dark variant#770B08
Hover, pressed, headers
Light variant#FDE8E7
Selected rows, tints
Dark surface#241414
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 #df150f

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#0FD9DF
Analogous left#DF0F71
Analogous right#DF7D0F
Split-complement 1#0FDF7D
Split-complement 2#0F71DF
Triadic 1#0FDF15
Triadic 2#150FDF
Tetradic#71DF0F

RGB percentages

Red87.5%
Green8.2%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta90.6%
Yellow93.3%
Key (black)12.5%

Color previews

#df150f text on a black background

contrast 4.25:1

Card sample

#df150f text on a white background

contrast 4.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df150f

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.

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

#df150f, answered

What color is #df150f?

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

What is the RGB value of #df150f?

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

Is #df150f a light or a dark color?

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

Should I use black or white text on #df150f?

White. It scores 4.94:1 against #df150f, versus 4.25:1 for black — AA at any size.

What is the complementary color of #df150f?

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

What colors go well with #df150f?

For interface work: #FAF4F4 as the surface, #EDC1C0 for borders, #9B4D4B for secondary text, #09C39A as an accent and #770B08 for hover and pressed states. For a palette, the analogous pair #DF0F71 and #DF7D0F stays calm, while #0FD9DF is the loudest partner.

What is #df150f in CMYK for printing?

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

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

Work with #df150f in the Color Lab