Skip to content

#df4052

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

RGB
223, 64, 82
HSL
353°, 71%, 56%
CMYK
0, 71, 63, 13
Luminance
0.1996

Every format

HEX#df4052
RGBrgb(223, 64, 82)
HSLhsl(353, 71%, 56%)
CMYKcmyk(0%, 71%, 63%, 13%)
LABlab(51.8 62.0 26.5)
LCHlch(51.8 67.4 23.2)
OKLCHoklch(0.609 0.195 19.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green25.1%
Blue32.2%

CMYK percentages

Cyan0.0%
Magenta71.3%
Yellow63.2%
Key (black)12.5%

Color previews

#df4052 text on a black background

contrast 4.99:1

Card sample

#df4052 text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4052

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4052 in the Color Lab