Skip to content

#280e21

a deep, vivid magenta / pink · warm · closest name: black

RGB
40, 14, 33
HSL
316°, 48%, 11%
CMYK
0, 65, 18, 84
Luminance
0.0087

Every format

HEX#280e21
RGBrgb(40, 14, 33)
HSLhsl(316, 48%, 11%)
CMYKcmyk(0%, 65%, 18%, 84%)
LABlab(7.9 16.7 -7.1)
LCHlch(7.9 18.2 336.9)
OKLCHoklch(0.213 0.053 338.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#280e21 on white: 17.87:1
AA ✓ pass · AA-large · AAA
Aa
#280e21 on black: 1.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green5.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta65.0%
Yellow17.5%
Key (black)84.3%

Color previews

#280e21 text on a black background

contrast 1.17:1

Card sample

#280e21 text on a white background

contrast 17.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #280e21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #280e21 in the Color Lab