Skip to content

#df2b3f

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

RGB
223, 43, 63
HSL
353°, 74%, 52%
CMYK
0, 81, 72, 13
Luminance
0.1777

Every format

HEX#df2b3f
RGBrgb(223, 43, 63)
HSLhsl(353, 74%, 52%)
CMYKcmyk(0%, 81%, 72%, 13%)
LABlab(49.2 67.4 34.5)
LCHlch(49.2 75.7 27.1)
OKLCHoklch(0.589 0.212 21.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2b3f on white: 4.61:1
AA ✓ pass · AA-large · AAA
Aa
#df2b3f on black: 4.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.9%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta80.7%
Yellow71.7%
Key (black)12.5%

Color previews

#df2b3f text on a black background

contrast 4.55:1

Card sample

#df2b3f text on a white background

contrast 4.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2b3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2b3f in the Color Lab