Skip to content

#402921

a deep, soft orange · warm · closest name: black

RGB
64, 41, 33
HSL
16°, 32%, 19%
CMYK
0, 36, 48, 75
Luminance
0.0279

Every format

HEX#402921
RGBrgb(64, 41, 33)
HSLhsl(16, 32%, 19%)
CMYKcmyk(0%, 36%, 48%, 75%)
LABlab(19.2 9.6 9.6)
LCHlch(19.2 13.6 45.1)
OKLCHoklch(0.307 0.037 40.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#402921 on white: 13.49:1
AA ✓ pass · AA-large · AAA
Aa
#402921 on black: 1.56:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green16.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta35.9%
Yellow48.4%
Key (black)74.9%

Color previews

#402921 text on a black background

contrast 1.56:1

Card sample

#402921 text on a white background

contrast 13.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #402921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #402921 in the Color Lab