Skip to content

#df254c

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

RGB
223, 37, 76
HSL
347°, 74%, 51%
CMYK
0, 83, 66, 13
Luminance
0.1753

Every format

HEX#df254c
RGBrgb(223, 37, 76)
HSLhsl(347, 74%, 51%)
CMYKcmyk(0%, 83%, 66%, 13%)
LABlab(48.9 69.4 26.4)
LCHlch(48.9 74.3 20.8)
OKLCHoklch(0.587 0.216 16.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df254c on white: 4.66:1
AA ✓ pass · AA-large · AAA
Aa
#df254c on black: 4.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green14.5%
Blue29.8%

CMYK percentages

Cyan0.0%
Magenta83.4%
Yellow65.9%
Key (black)12.5%

Color previews

#df254c text on a black background

contrast 4.51:1

Card sample

#df254c text on a white background

contrast 4.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df254c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df254c in the Color Lab