Skip to content

#271616

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

RGB
39, 22, 22
HSL
0°, 28%, 12%
CMYK
0, 44, 44, 85
Luminance
0.0106

Every format

HEX#271616
RGBrgb(39, 22, 22)
HSLhsl(0, 28%, 12%)
CMYKcmyk(0%, 44%, 44%, 85%)
LABlab(9.5 8.7 3.6)
LCHlch(9.5 9.4 22.3)
OKLCHoklch(0.223 0.028 19.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#271616 on white: 17.32:1
AA ✓ pass · AA-large · AAA
Aa
#271616 on black: 1.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.3%
Green8.6%
Blue8.6%

CMYK percentages

Cyan0.0%
Magenta43.6%
Yellow43.6%
Key (black)84.7%

Color previews

#271616 text on a black background

contrast 1.21:1

Card sample

#271616 text on a white background

contrast 17.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(39, 22, 22, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(39, 22, 22, 0.45);
Border & gradient
Gradient panel
border: 3px solid #271616;
background: linear-gradient(135deg, #271616, #272116);

Monochromatic scale

Palettes built from #271616

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #271616 in the Color Lab