Skip to content

#4d2f49

a deep, soft magenta / pink · warm · closest name: darkslategray

RGB
77, 47, 73
HSL
308°, 24%, 24%
CMYK
0, 39, 5, 70
Luminance
0.0409

Every format

HEX#4d2f49
RGBrgb(77, 47, 73)
HSLhsl(308, 24%, 24%)
CMYKcmyk(0%, 39%, 5%, 70%)
LABlab(24.0 18.5 -10.5)
LCHlch(24.0 21.2 330.4)
OKLCHoklch(0.352 0.059 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4d2f49 on white: 11.55:1
AA ✓ pass · AA-large · AAA
Aa
#4d2f49 on black: 1.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green18.4%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta39.0%
Yellow5.2%
Key (black)69.8%

Color previews

#4d2f49 text on a black background

contrast 1.82:1

Card sample

#4d2f49 text on a white background

contrast 11.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(77, 47, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 47, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4d2f49;
background: linear-gradient(135deg, #4d2f49, #4D2F35);

Monochromatic scale

Palettes built from #4d2f49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4d2f49 in the Color Lab