Skip to content

#df2c27

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

RGB
223, 44, 39
HSL
2°, 74%, 51%
CMYK
0, 80, 83, 13
Luminance
0.1764

Every format

HEX#df2c27
RGBrgb(223, 44, 39)
HSLhsl(2, 74%, 51%)
CMYKcmyk(0%, 80%, 83%, 13%)
LABlab(49.1 66.3 47.6)
LCHlch(49.1 81.7 35.7)
OKLCHoklch(0.587 0.214 28.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2c27 on white: 4.64:1
AA ✓ pass · AA-large · AAA
Aa
#df2c27 on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green17.3%
Blue15.3%

CMYK percentages

Cyan0.0%
Magenta80.3%
Yellow82.5%
Key (black)12.5%

Color previews

#df2c27 text on a black background

contrast 4.53:1

Card sample

#df2c27 text on a white background

contrast 4.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2c27

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2c27 in the Color Lab