Skip to content

#df2012

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

RGB
223, 32, 18
HSL
4°, 85%, 47%
CMYK
0, 86, 92, 13
Luminance
0.1676

At a glance

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

Hex
#df2012
Hue
red
Saturation
85%
electric
Lightness
47%
balanced
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1676
WCAG relative
Temperature
Warm
14/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.82:1
Closest name
Red
ΔE2000 6.1
Where it sits
Hue4° of 360°
Saturation85%
Lightness47%
Temperature
Warm ← → Cool14% 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#df2012
RGBrgb(223, 32, 18)
HSLhsl(4, 85%, 47%)
CMYKcmyk(0%, 86%, 92%, 13%)
LABlab(48.0 68.7 56.0)
LCHlch(48.0 88.6 39.2)
OKLCHoklch(0.578 0.223 29.8)
Decimal14622738
Display P3color(display-p3 0.875 0.125 0.071)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2012 on white: 4.82:1
AA ✓ pass · AA-large · AAA
Aa
#df2012 on black: 4.35:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #645809
deuteranopia · #918000
tritanopia · #F60021

Color scale — 50 to 950

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

#FCF3F2
#FAE7E5
#F7C8C5
#F79E97
#F26D63
#EE3C2F
#df2012
#BD1B0F
#97160C
#6D140D
#440C08
Base = 600Lightest = 50 · #FCF3F2Darkest = 950 · #440C08
:root {
  --brand-50: #FCF3F2;
  --brand-100: #FAE7E5;
  --brand-200: #F7C8C5;
  --brand-300: #F79E97;
  --brand-400: #F26D63;
  --brand-500: #EE3C2F;
  --brand-600: #df2012;
  --brand-700: #BD1B0F;
  --brand-800: #97160C;
  --brand-900: #6D140D;
  --brand-950: #440C08;
  --brand: #df2012;
  --brand-ink: #ffffff;
}

Colors that work with #df2012

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#0BC1A0
Second voice, not a rival
Dark variant#761109
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 #df2012

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#12D1DF
Analogous left#DF126B
Analogous right#DF8712
Split-complement 1#12DF87
Split-complement 2#126BDF
Triadic 1#12DF20
Triadic 2#2012DF
Tetradic#6BDF12

RGB percentages

Red87.5%
Green12.5%
Blue7.1%

CMYK percentages

Cyan0.0%
Magenta85.7%
Yellow91.9%
Key (black)12.5%

Color previews

#df2012 text on a black background

contrast 4.35:1

Card sample

#df2012 text on a white background

contrast 4.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2012

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.

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

#df2012, answered

What color is #df2012?

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

What is the RGB value of #df2012?

rgb(223, 32, 18) — 223 red, 32 green and 18 blue out of 255, or 87.5% / 12.5% / 7.1% by channel.

Is #df2012 a light or a dark color?

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

Should I use black or white text on #df2012?

White. It scores 4.82:1 against #df2012, versus 4.35:1 for black — AA at any size.

What is the complementary color of #df2012?

#12D1DF sits directly opposite on the wheel. Softer options are the split-complements #12DF87 and #126BDF, which give the same contrast with far less vibration.

What colors go well with #df2012?

For interface work: #FAF5F4 as the surface, #EDC3C0 for borders, #9B504B for secondary text, #0BC1A0 as an accent and #761109 for hover and pressed states. For a palette, the analogous pair #DF126B and #DF8712 stays calm, while #12D1DF is the loudest partner.

What is #df2012 in CMYK for printing?

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

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

Work with #df2012 in the Color Lab