Skip to content

#df3940

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

RGB
223, 57, 64
HSL
358°, 72%, 55%
CMYK
0, 74, 71, 13
Luminance
0.1898

Every format

HEX#df3940
RGBrgb(223, 57, 64)
HSLhsl(358, 72%, 55%)
CMYKcmyk(0%, 74%, 71%, 13%)
LABlab(50.7 63.4 35.7)
LCHlch(50.7 72.7 29.4)
OKLCHoklch(0.599 0.202 23.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df3940 on white: 4.38:1
AA ✗ fail · AA-large · AAA
Aa
#df3940 on black: 4.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green22.4%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta74.4%
Yellow71.3%
Key (black)12.5%

Color previews

#df3940 text on a black background

contrast 4.80:1

Card sample

#df3940 text on a white background

contrast 4.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df3940

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df3940 in the Color Lab