Skip to content

#df2a0f

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

RGB
223, 42, 15
HSL
8°, 87%, 47%
CMYK
0, 81, 93, 13
Luminance
0.1738

Every format

HEX#df2a0f
RGBrgb(223, 42, 15)
HSLhsl(8, 87%, 47%)
CMYKcmyk(0%, 81%, 93%, 13%)
LABlab(48.7 66.4 57.5)
LCHlch(48.7 87.8 40.9)
OKLCHoklch(0.584 0.218 31.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2a0f on white: 4.69:1
AA ✓ pass · AA-large · AAA
Aa
#df2a0f on black: 4.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta81.2%
Yellow93.3%
Key (black)12.5%

Color previews

#df2a0f text on a black background

contrast 4.48:1

Card sample

#df2a0f text on a white background

contrast 4.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2a0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2a0f in the Color Lab