Skip to content

#3d1f2e

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

RGB
61, 31, 46
HSL
330°, 33%, 18%
CMYK
0, 49, 25, 76
Luminance
0.0217

Every format

HEX#3d1f2e
RGBrgb(61, 31, 46)
HSLhsl(330, 33%, 18%)
CMYKcmyk(0%, 49%, 25%, 76%)
LABlab(16.4 16.9 -3.6)
LCHlch(16.4 17.3 348.0)
OKLCHoklch(0.286 0.051 349.5)

Copy-ready code

/* CSS */
color: #3d1f2e;
background-color: #3d1f2e;
/* Tailwind (arbitrary) */
class="text-[#3d1f2e] bg-[#3d1f2e]"
/* SCSS */
$brand: #3d1f2e;
/* SwiftUI */
Color(red: 0.239, green: 0.122, blue: 0.180)
/* Android */
Color.parseColor("#3d1f2e")

Accessibility — WCAG contrast

Aa
#3d1f2e on white: 14.65:1
AA ✓ pass · AA-large · AAA
Aa
#3d1f2e on black: 1.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green12.2%
Blue18.0%

CMYK percentages

Cyan0.0%
Magenta49.2%
Yellow24.6%
Key (black)76.1%

Color previews

#3d1f2e text on a black background

contrast 1.43:1

Card sample

#3d1f2e text on a white background

contrast 14.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(61, 31, 46, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 31, 46, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3d1f2e;
background: linear-gradient(135deg, #3d1f2e, #3D241F);

Monochromatic scale

Palettes built from #3d1f2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d1f2e in the Color Lab