Skip to content

#4d2d2f

a deep, soft red · warm · closest name: black

RGB
77, 45, 47
HSL
356°, 26%, 24%
CMYK
0, 42, 39, 70
Luminance
0.0366

Every format

HEX#4d2d2f
RGBrgb(77, 45, 47)
HSLhsl(356, 26%, 24%)
CMYKcmyk(0%, 42%, 39%, 70%)
LABlab(22.5 15.0 5.0)
LCHlch(22.5 15.8 18.3)
OKLCHoklch(0.338 0.047 15.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4d2d2f on white: 12.13:1
AA ✓ pass · AA-large · AAA
Aa
#4d2d2f on black: 1.73:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green17.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta41.6%
Yellow39.0%
Key (black)69.8%

Color previews

#4d2d2f text on a black background

contrast 1.73:1

Card sample

#4d2d2f text on a white background

contrast 12.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4d2d2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4d2d2f in the Color Lab