Skip to content

#df4b1c

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

RGB
223, 75, 28
HSL
15°, 78%, 49%
CMYK
0, 66, 87, 13
Luminance
0.2080

Every format

HEX#df4b1c
RGBrgb(223, 75, 28)
HSLhsl(15, 78%, 49%)
CMYKcmyk(0%, 66%, 87%, 13%)
LABlab(52.7 55.7 55.7)
LCHlch(52.7 78.8 45.0)
OKLCHoklch(0.614 0.192 36.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4b1c on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#df4b1c on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green29.4%
Blue11.0%

CMYK percentages

Cyan0.0%
Magenta66.4%
Yellow87.4%
Key (black)12.5%

Color previews

#df4b1c text on a black background

contrast 5.16:1

Card sample

#df4b1c text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4b1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4b1c in the Color Lab