Skip to content

#df302d

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

RGB
223, 48, 45
HSL
1°, 74%, 53%
CMYK
0, 79, 80, 13
Luminance
0.1799

Every format

HEX#df302d
RGBrgb(223, 48, 45)
HSLhsl(1, 74%, 53%)
CMYKcmyk(0%, 79%, 80%, 13%)
LABlab(49.5 65.4 45.0)
LCHlch(49.5 79.4 34.5)
OKLCHoklch(0.590 0.211 27.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df302d on white: 4.57:1
AA ✓ pass · AA-large · AAA
Aa
#df302d on black: 4.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.8%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta78.5%
Yellow79.8%
Key (black)12.5%

Color previews

#df302d text on a black background

contrast 4.60:1

Card sample

#df302d text on a white background

contrast 4.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df302d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df302d in the Color Lab