Skip to content

#df4f42

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

RGB
223, 79, 66
HSL
5°, 71%, 57%
CMYK
0, 65, 70, 13
Luminance
0.2167

Every format

HEX#df4f42
RGBrgb(223, 79, 66)
HSLhsl(5, 71%, 57%)
CMYKcmyk(0%, 65%, 70%, 13%)
LABlab(53.7 55.3 38.0)
LCHlch(53.7 67.1 34.5)
OKLCHoklch(0.622 0.182 28.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4f42 on white: 3.94:1
AA ✗ fail · AA-large · AAA
Aa
#df4f42 on black: 5.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green31.0%
Blue25.9%

CMYK percentages

Cyan0.0%
Magenta64.6%
Yellow70.4%
Key (black)12.5%

Color previews

#df4f42 text on a black background

contrast 5.33:1

Card sample

#df4f42 text on a white background

contrast 3.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4f42

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4f42 in the Color Lab