Skip to content

#df404f

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

RGB
223, 64, 79
HSL
354°, 71%, 56%
CMYK
0, 71, 65, 13
Luminance
0.1992

Every format

HEX#df404f
RGBrgb(223, 64, 79)
HSLhsl(354, 71%, 56%)
CMYKcmyk(0%, 71%, 65%, 13%)
LABlab(51.8 61.8 28.2)
LCHlch(51.8 67.9 24.5)
OKLCHoklch(0.608 0.195 20.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df404f on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#df404f on black: 4.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.1%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta71.3%
Yellow64.6%
Key (black)12.5%

Color previews

#df404f text on a black background

contrast 4.98:1

Card sample

#df404f text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df404f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df404f in the Color Lab