Skip to content

#df2b0d

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

RGB
223, 43, 13
HSL
9°, 89%, 46%
CMYK
0, 81, 94, 13
Luminance
0.1744

Every format

HEX#df2b0d
RGBrgb(223, 43, 13)
HSLhsl(9, 89%, 46%)
CMYKcmyk(0%, 81%, 94%, 13%)
LABlab(48.8 66.1 58.1)
LCHlch(48.8 88.1 41.3)
OKLCHoklch(0.584 0.217 31.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2b0d on white: 4.68:1
AA ✓ pass · AA-large · AAA
Aa
#df2b0d on black: 4.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.9%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta80.7%
Yellow94.2%
Key (black)12.5%

Color previews

#df2b0d text on a black background

contrast 4.49:1

Card sample

#df2b0d text on a white background

contrast 4.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2b0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2b0d in the Color Lab