Skip to content

#4d0f0f

a deep, vivid red · warm · closest name: maroon

RGB
77, 15, 15
HSL
0°, 67%, 18%
CMYK
0, 81, 81, 70
Luminance
0.0195

Every format

HEX#4d0f0f
RGBrgb(77, 15, 15)
HSLhsl(0, 67%, 18%)
CMYKcmyk(0%, 81%, 81%, 70%)
LABlab(15.3 28.7 16.9)
LCHlch(15.3 33.4 30.5)
OKLCHoklch(0.280 0.092 25.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4d0f0f on white: 15.10:1
AA ✓ pass · AA-large · AAA
Aa
#4d0f0f on black: 1.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green5.9%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta80.5%
Yellow80.5%
Key (black)69.8%

Color previews

#4d0f0f text on a black background

contrast 1.39:1

Card sample

#4d0f0f text on a white background

contrast 15.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4d0f0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4d0f0f in the Color Lab