Skip to content

#280708

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

RGB
40, 7, 8
HSL
358°, 70%, 9%
CMYK
0, 83, 80, 84
Luminance
0.0062

Every format

HEX#280708
RGBrgb(40, 7, 8)
HSLhsl(358, 70%, 9%)
CMYKcmyk(0%, 83%, 80%, 84%)
LABlab(5.6 16.2 5.4)
LCHlch(5.6 17.1 18.5)
OKLCHoklch(0.191 0.056 22.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#280708 on white: 18.68:1
AA ✓ pass · AA-large · AAA
Aa
#280708 on black: 1.12:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green2.7%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta82.5%
Yellow80.0%
Key (black)84.3%

Color previews

#280708 text on a black background

contrast 1.12:1

Card sample

#280708 text on a white background

contrast 18.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #280708

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #280708 in the Color Lab