Skip to content

#df2e52

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

RGB
223, 46, 82
HSL
348°, 73%, 53%
CMYK
0, 79, 63, 13
Luminance
0.1825

Every format

HEX#df2e52
RGBrgb(223, 46, 82)
HSLhsl(348, 73%, 53%)
CMYKcmyk(0%, 79%, 63%, 13%)
LABlab(49.8 67.5 23.9)
LCHlch(49.8 71.7 19.5)
OKLCHoklch(0.594 0.210 15.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2e52 on white: 4.52:1
AA ✓ pass · AA-large · AAA
Aa
#df2e52 on black: 4.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.0%
Blue32.2%

CMYK percentages

Cyan0.0%
Magenta79.4%
Yellow63.2%
Key (black)12.5%

Color previews

#df2e52 text on a black background

contrast 4.65:1

Card sample

#df2e52 text on a white background

contrast 4.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2e52

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2e52 in the Color Lab