Skip to content

#3f1721

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

RGB
63, 23, 33
HSL
345°, 47%, 17%
CMYK
0, 64, 48, 75
Luminance
0.0178

Every format

HEX#3f1721
RGBrgb(63, 23, 33)
HSLhsl(345, 47%, 17%)
CMYKcmyk(0%, 64%, 48%, 75%)
LABlab(14.3 20.7 2.8)
LCHlch(14.3 20.9 7.7)
OKLCHoklch(0.269 0.063 6.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f1721 on white: 15.49:1
AA ✓ pass · AA-large · AAA
Aa
#3f1721 on black: 1.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green9.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta63.5%
Yellow47.6%
Key (black)75.3%

Color previews

#3f1721 text on a black background

contrast 1.36:1

Card sample

#3f1721 text on a white background

contrast 15.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 23, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 23, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f1721;
background: linear-gradient(135deg, #3f1721, #3F2817);

Monochromatic scale

Palettes built from #3f1721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f1721 in the Color Lab