Skip to content

#27161a

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

RGB
39, 22, 26
HSL
346°, 28%, 12%
CMYK
0, 44, 33, 85
Luminance
0.0108

Every format

HEX#27161a
RGBrgb(39, 22, 26)
HSLhsl(346, 28%, 12%)
CMYKcmyk(0%, 44%, 33%, 85%)
LABlab(9.6 9.4 0.8)
LCHlch(9.6 9.4 4.6)
OKLCHoklch(0.225 0.028 4.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#27161a on white: 17.27:1
AA ✓ pass · AA-large · AAA
Aa
#27161a on black: 1.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.3%
Green8.6%
Blue10.2%

CMYK percentages

Cyan0.0%
Magenta43.6%
Yellow33.3%
Key (black)84.7%

Color previews

#27161a text on a black background

contrast 1.22:1

Card sample

#27161a text on a white background

contrast 17.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #27161a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #27161a in the Color Lab