Skip to content

#df2c0f

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

RGB
223, 44, 15
HSL
8°, 87%, 47%
CMYK
0, 80, 93, 13
Luminance
0.1752

Every format

HEX#df2c0f
RGBrgb(223, 44, 15)
HSLhsl(8, 87%, 47%)
CMYKcmyk(0%, 80%, 93%, 13%)
LABlab(48.9 65.9 57.6)
LCHlch(48.9 87.5 41.2)
OKLCHoklch(0.585 0.216 31.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2c0f on white: 4.66:1
AA ✓ pass · AA-large · AAA
Aa
#df2c0f on black: 4.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green17.3%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta80.3%
Yellow93.3%
Key (black)12.5%

Color previews

#df2c0f text on a black background

contrast 4.50:1

Card sample

#df2c0f text on a white background

contrast 4.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2c0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2c0f in the Color Lab