Skip to content

#290f21

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

RGB
41, 15, 33
HSL
319°, 46%, 11%
CMYK
0, 63, 20, 84
Luminance
0.0092

Every format

HEX#290f21
RGBrgb(41, 15, 33)
HSLhsl(319, 46%, 11%)
CMYKcmyk(0%, 63%, 20%, 84%)
LABlab(8.3 16.5 -6.5)
LCHlch(8.3 17.7 338.6)
OKLCHoklch(0.216 0.052 340.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#290f21 on white: 17.73:1
AA ✓ pass · AA-large · AAA
Aa
#290f21 on black: 1.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.1%
Green5.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta63.4%
Yellow19.5%
Key (black)83.9%

Color previews

#290f21 text on a black background

contrast 1.18:1

Card sample

#290f21 text on a white background

contrast 17.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #290f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #290f21 in the Color Lab