Skip to content

#df405f

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

RGB
223, 64, 95
HSL
348°, 71%, 56%
CMYK
0, 71, 57, 13
Luminance
0.2018

Every format

HEX#df405f
RGBrgb(223, 64, 95)
HSLhsl(348, 71%, 56%)
CMYKcmyk(0%, 71%, 57%, 13%)
LABlab(52.0 62.8 19.1)
LCHlch(52.0 65.6 16.9)
OKLCHoklch(0.611 0.195 14.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df405f on white: 4.17:1
AA ✗ fail · AA-large · AAA
Aa
#df405f on black: 5.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.1%
Blue37.3%

CMYK percentages

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

Color previews

#df405f text on a black background

contrast 5.04:1

Card sample

#df405f text on a white background

contrast 4.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df405f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df405f in the Color Lab