Skip to content

#df2e2e

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

RGB
223, 46, 46
HSL
0°, 73%, 53%
CMYK
0, 79, 79, 13
Luminance
0.1784

Every format

HEX#df2e2e
RGBrgb(223, 46, 46)
HSLhsl(0, 73%, 53%)
CMYKcmyk(0%, 79%, 79%, 13%)
LABlab(49.3 66.0 44.2)
LCHlch(49.3 79.5 33.8)
OKLCHoklch(0.589 0.212 26.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green18.0%
Blue18.0%

CMYK percentages

Cyan0.0%
Magenta79.4%
Yellow79.4%
Key (black)12.5%

Color previews

#df2e2e text on a black background

contrast 4.57:1

Card sample

#df2e2e text on a white background

contrast 4.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2e2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2e2e in the Color Lab