Skip to content

#df255d

a balanced, vivid magenta / pink · warm · closest name: crimson

RGB
223, 37, 93
HSL
342°, 74%, 51%
CMYK
0, 83, 58, 13
Luminance
0.1780

Every format

HEX#df255d
RGBrgb(223, 37, 93)
HSLhsl(342, 74%, 51%)
CMYKcmyk(0%, 83%, 58%, 13%)
LABlab(49.3 70.4 16.5)
LCHlch(49.3 72.3 13.2)
OKLCHoklch(0.591 0.217 10.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df255d on white: 4.60:1
AA ✓ pass · AA-large · AAA
Aa
#df255d on black: 4.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green14.5%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta83.4%
Yellow58.3%
Key (black)12.5%

Color previews

#df255d text on a black background

contrast 4.56:1

Card sample

#df255d text on a white background

contrast 4.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df255d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df255d in the Color Lab