Skip to content

#df0f4d

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

RGB
223, 15, 77
HSL
342°, 87%, 47%
CMYK
0, 93, 66, 13
Luminance
0.1657

Every format

HEX#df0f4d
RGBrgb(223, 15, 77)
HSLhsl(342, 87%, 47%)
CMYKcmyk(0%, 93%, 66%, 13%)
LABlab(47.7 73.0 24.3)
LCHlch(47.7 76.9 18.4)
OKLCHoklch(0.578 0.226 14.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0f4d on white: 4.87:1
AA ✓ pass · AA-large · AAA
Aa
#df0f4d on black: 4.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green5.9%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta93.3%
Yellow65.5%
Key (black)12.5%

Color previews

#df0f4d text on a black background

contrast 4.31:1

Card sample

#df0f4d text on a white background

contrast 4.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0f4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0f4d in the Color Lab