Skip to content

#df281d

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

RGB
223, 40, 29
HSL
3°, 77%, 49%
CMYK
0, 82, 87, 13
Luminance
0.1729

Every format

HEX#df281d
RGBrgb(223, 40, 29)
HSLhsl(3, 77%, 49%)
CMYKcmyk(0%, 82%, 87%, 13%)
LABlab(48.6 67.1 52.1)
LCHlch(48.6 85.0 37.8)
OKLCHoklch(0.583 0.218 29.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df281d on white: 4.71:1
AA ✓ pass · AA-large · AAA
Aa
#df281d on black: 4.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green15.7%
Blue11.4%

CMYK percentages

Cyan0.0%
Magenta82.1%
Yellow87.0%
Key (black)12.5%

Color previews

#df281d text on a black background

contrast 4.46:1

Card sample

#df281d text on a white background

contrast 4.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df281d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df281d in the Color Lab