Skip to content

#df4f2b

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

RGB
223, 79, 43
HSL
12°, 74%, 52%
CMYK
0, 65, 81, 13
Luminance
0.2145

Every format

HEX#df4f2b
RGBrgb(223, 79, 43)
HSLhsl(12, 74%, 52%)
CMYKcmyk(0%, 65%, 81%, 13%)
LABlab(53.5 54.4 49.8)
LCHlch(53.5 73.8 42.5)
OKLCHoklch(0.619 0.186 35.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4f2b on white: 3.97:1
AA ✗ fail · AA-large · AAA
Aa
#df4f2b on black: 5.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green31.0%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta64.6%
Yellow80.7%
Key (black)12.5%

Color previews

#df4f2b text on a black background

contrast 5.29:1

Card sample

#df4f2b text on a white background

contrast 3.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4f2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4f2b in the Color Lab