Skip to content

#280c0c

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

RGB
40, 12, 12
HSL
0°, 54%, 10%
CMYK
0, 70, 70, 84
Luminance
0.0074

Every format

HEX#280c0c
RGBrgb(40, 12, 12)
HSLhsl(0, 54%, 10%)
CMYKcmyk(0%, 70%, 70%, 84%)
LABlab(6.7 14.4 5.3)
LCHlch(6.7 15.3 20.4)
OKLCHoklch(0.201 0.047 22.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#280c0c on white: 18.29:1
AA ✓ pass · AA-large · AAA
Aa
#280c0c on black: 1.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green4.7%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta70.0%
Yellow70.0%
Key (black)84.3%

Color previews

#280c0c text on a black background

contrast 1.15:1

Card sample

#280c0c text on a white background

contrast 18.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #280c0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #280c0c in the Color Lab