Skip to content

#290c21

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

RGB
41, 12, 33
HSL
317°, 55%, 10%
CMYK
0, 71, 20, 84
Luminance
0.0084

Every format

HEX#290c21
RGBrgb(41, 12, 33)
HSLhsl(317, 55%, 10%)
CMYKcmyk(0%, 71%, 20%, 84%)
LABlab(7.6 18.4 -7.5)
LCHlch(7.6 19.9 337.6)
OKLCHoklch(0.211 0.058 339.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#290c21 on white: 17.97:1
AA ✓ pass · AA-large · AAA
Aa
#290c21 on black: 1.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.1%
Green4.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta70.7%
Yellow19.5%
Key (black)83.9%

Color previews

#290c21 text on a black background

contrast 1.17:1

Card sample

#290c21 text on a white background

contrast 17.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #290c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #290c21 in the Color Lab