Skip to content

#df2a2b

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

RGB
223, 42, 43
HSL
360°, 74%, 52%
CMYK
0, 81, 81, 13
Luminance
0.1752

Every format

HEX#df2a2b
RGBrgb(223, 42, 43)
HSLhsl(360, 74%, 52%)
CMYKcmyk(0%, 81%, 81%, 13%)
LABlab(48.9 67.0 45.4)
LCHlch(48.9 80.9 34.2)
OKLCHoklch(0.586 0.215 26.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2a2b on white: 4.66:1
AA ✓ pass · AA-large · AAA
Aa
#df2a2b on black: 4.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.5%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta81.2%
Yellow80.7%
Key (black)12.5%

Color previews

#df2a2b text on a black background

contrast 4.50:1

Card sample

#df2a2b text on a white background

contrast 4.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2a2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2a2b in the Color Lab