Skip to content

#df4056

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

RGB
223, 64, 86
HSL
352°, 71%, 56%
CMYK
0, 71, 61, 13
Luminance
0.2003

Every format

HEX#df4056
RGBrgb(223, 64, 86)
HSLhsl(352, 71%, 56%)
CMYKcmyk(0%, 71%, 61%, 13%)
LABlab(51.9 62.2 24.2)
LCHlch(51.9 66.8 21.3)
OKLCHoklch(0.609 0.195 17.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4056 on white: 4.20:1
AA ✗ fail · AA-large · AAA
Aa
#df4056 on black: 5.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.1%
Blue33.7%

CMYK percentages

Cyan0.0%
Magenta71.3%
Yellow61.4%
Key (black)12.5%

Color previews

#df4056 text on a black background

contrast 5.01:1

Card sample

#df4056 text on a white background

contrast 4.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4056

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4056 in the Color Lab