Skip to content

#d52f5f

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

RGB
213, 47, 95
HSL
343°, 66%, 51%
CMYK
0, 78, 55, 17
Luminance
0.1701

Every format

HEX#d52f5f
RGBrgb(213, 47, 95)
HSLhsl(343, 66%, 51%)
CMYKcmyk(0%, 78%, 55%, 17%)
LABlab(48.3 65.4 13.6)
LCHlch(48.3 66.8 11.8)
OKLCHoklch(0.580 0.201 9.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d52f5f on white: 4.77:1
AA ✓ pass · AA-large · AAA
Aa
#d52f5f on black: 4.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.5%
Green18.4%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta77.9%
Yellow55.4%
Key (black)16.5%

Color previews

#d52f5f text on a black background

contrast 4.40:1

Card sample

#d52f5f text on a white background

contrast 4.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(213, 47, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(213, 47, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d52f5f;
background: linear-gradient(135deg, #d52f5f, #D56E2F);

Monochromatic scale

Palettes built from #d52f5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d52f5f in the Color Lab