Skip to content

#df0d0c

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

RGB
223, 13, 12
HSL
0°, 90%, 46%
CMYK
0, 94, 95, 13
Luminance
0.1600

Every format

HEX#df0d0c
RGBrgb(223, 13, 12)
HSLhsl(0, 90%, 46%)
CMYKcmyk(0%, 94%, 95%, 13%)
LABlab(47.0 71.4 57.4)
LCHlch(47.0 91.6 38.8)
OKLCHoklch(0.571 0.230 28.9)

Copy-ready code

/* CSS */
color: #df0d0c;
background-color: #df0d0c;
/* Tailwind (arbitrary) */
class="text-[#df0d0c] bg-[#df0d0c]"
/* SCSS */
$brand: #df0d0c;
/* SwiftUI */
Color(red: 0.875, green: 0.051, blue: 0.047)
/* Android */
Color.parseColor("#df0d0c")

Accessibility — WCAG contrast

Aa
#df0d0c on white: 5.00:1
AA ✓ pass · AA-large · AAA
Aa
#df0d0c on black: 4.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green5.1%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta94.2%
Yellow94.6%
Key (black)12.5%

Color previews

#df0d0c text on a black background

contrast 4.20:1

Card sample

#df0d0c text on a white background

contrast 5.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0d0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0d0c in the Color Lab