Skip to content

#280b21

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

RGB
40, 11, 33
HSL
315°, 57%, 10%
CMYK
0, 73, 18, 84
Luminance
0.0080

Every format

HEX#280b21
RGBrgb(40, 11, 33)
HSLhsl(315, 57%, 10%)
CMYKcmyk(0%, 73%, 18%, 84%)
LABlab(7.2 18.5 -8.2)
LCHlch(7.2 20.2 336.2)
OKLCHoklch(0.208 0.059 337.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#280b21 on white: 18.10:1
AA ✓ pass · AA-large · AAA
Aa
#280b21 on black: 1.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green4.3%
Blue12.9%

CMYK percentages

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

Color previews

#280b21 text on a black background

contrast 1.16:1

Card sample

#280b21 text on a white background

contrast 18.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #280b21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #280b21 in the Color Lab