Skip to content

#df256c

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

RGB
223, 37, 108
HSL
337°, 74%, 51%
CMYK
0, 83, 52, 13
Luminance
0.1809

Every format

HEX#df256c
RGBrgb(223, 37, 108)
HSLhsl(337, 74%, 51%)
CMYKcmyk(0%, 83%, 52%, 13%)
LABlab(49.6 71.4 7.8)
LCHlch(49.6 71.8 6.2)
OKLCHoklch(0.594 0.220 5.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df256c on white: 4.55:1
AA ✓ pass · AA-large · AAA
Aa
#df256c on black: 4.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green14.5%
Blue42.4%

CMYK percentages

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

Color previews

#df256c text on a black background

contrast 4.62:1

Card sample

#df256c text on a white background

contrast 4.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df256c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df256c in the Color Lab