Skip to content

#281216

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

RGB
40, 18, 22
HSL
349°, 38%, 11%
CMYK
0, 55, 45, 84
Luminance
0.0094

Every format

HEX#281216
RGBrgb(40, 18, 22)
HSLhsl(349, 38%, 11%)
CMYKcmyk(0%, 55%, 45%, 84%)
LABlab(8.5 12.0 2.1)
LCHlch(8.5 12.2 10.1)
OKLCHoklch(0.216 0.037 9.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#281216 on white: 17.67:1
AA ✓ pass · AA-large · AAA
Aa
#281216 on black: 1.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green7.1%
Blue8.6%

CMYK percentages

Cyan0.0%
Magenta55.0%
Yellow45.0%
Key (black)84.3%

Color previews

#281216 text on a black background

contrast 1.19:1

Card sample

#281216 text on a white background

contrast 17.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #281216

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #281216 in the Color Lab