Skip to content

#df254f

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

RGB
223, 37, 79
HSL
347°, 74%, 51%
CMYK
0, 83, 65, 13
Luminance
0.1758

Every format

HEX#df254f
RGBrgb(223, 37, 79)
HSLhsl(347, 74%, 51%)
CMYKcmyk(0%, 83%, 65%, 13%)
LABlab(49.0 69.6 24.7)
LCHlch(49.0 73.8 19.5)
OKLCHoklch(0.588 0.216 15.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green14.5%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta83.4%
Yellow64.6%
Key (black)12.5%

Color previews

#df254f text on a black background

contrast 4.52:1

Card sample

#df254f text on a white background

contrast 4.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df254f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df254f in the Color Lab