Skip to content

#df272f

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

RGB
223, 39, 47
HSL
357°, 74%, 51%
CMYK
0, 83, 79, 13
Luminance
0.1734

Every format

HEX#df272f
RGBrgb(223, 39, 47)
HSLhsl(357, 74%, 51%)
CMYKcmyk(0%, 83%, 79%, 13%)
LABlab(48.7 67.8 43.1)
LCHlch(48.7 80.3 32.4)
OKLCHoklch(0.584 0.216 25.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df272f on white: 4.70:1
AA ✓ pass · AA-large · AAA
Aa
#df272f on black: 4.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green15.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta82.5%
Yellow78.9%
Key (black)12.5%

Color previews

#df272f text on a black background

contrast 4.47:1

Card sample

#df272f text on a white background

contrast 4.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df272f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df272f in the Color Lab