Skip to content

#df3340

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

RGB
223, 51, 64
HSL
356°, 73%, 54%
CMYK
0, 77, 71, 13
Luminance
0.1843

Every format

HEX#df3340
RGBrgb(223, 51, 64)
HSLhsl(356, 73%, 54%)
CMYKcmyk(0%, 77%, 71%, 13%)
LABlab(50.0 65.3 34.9)
LCHlch(50.0 74.0 28.1)
OKLCHoklch(0.594 0.207 22.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df3340 on white: 4.48:1
AA ✗ fail · AA-large · AAA
Aa
#df3340 on black: 4.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green20.0%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta77.1%
Yellow71.3%
Key (black)12.5%

Color previews

#df3340 text on a black background

contrast 4.69:1

Card sample

#df3340 text on a white background

contrast 4.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df3340

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df3340 in the Color Lab