Skip to content

#280c13

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

RGB
40, 12, 19
HSL
345°, 54%, 10%
CMYK
0, 70, 53, 84
Luminance
0.0076

Every format

HEX#280c13
RGBrgb(40, 12, 19)
HSLhsl(345, 54%, 10%)
CMYKcmyk(0%, 70%, 53%, 84%)
LABlab(6.9 15.3 1.8)
LCHlch(6.9 15.4 6.7)
OKLCHoklch(0.203 0.048 6.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red15.7%
Green4.7%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta70.0%
Yellow52.5%
Key (black)84.3%

Color previews

#280c13 text on a black background

contrast 1.15:1

Card sample

#280c13 text on a white background

contrast 18.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #280c13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #280c13 in the Color Lab