Skip to content

#df4045

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

RGB
223, 64, 69
HSL
358°, 71%, 56%
CMYK
0, 71, 69, 13
Luminance
0.1978

Every format

HEX#df4045
RGBrgb(223, 64, 69)
HSLhsl(358, 71%, 56%)
CMYKcmyk(0%, 71%, 69%, 13%)
LABlab(51.6 61.3 33.9)
LCHlch(51.6 70.0 28.9)
OKLCHoklch(0.606 0.196 23.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4045 on white: 4.24:1
AA ✗ fail · AA-large · AAA
Aa
#df4045 on black: 4.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.1%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta71.3%
Yellow69.1%
Key (black)12.5%

Color previews

#df4045 text on a black background

contrast 4.96:1

Card sample

#df4045 text on a white background

contrast 4.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4045

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4045 in the Color Lab