Skip to content

#403021

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

RGB
64, 48, 33
HSL
29°, 32%, 19%
CMYK
0, 25, 48, 75
Luminance
0.0331

Every format

HEX#403021
RGBrgb(64, 48, 33)
HSLhsl(29, 32%, 19%)
CMYKcmyk(0%, 25%, 48%, 75%)
LABlab(21.3 4.9 12.4)
LCHlch(21.3 13.3 68.5)
OKLCHoklch(0.323 0.034 64.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#403021 on white: 12.63:1
AA ✓ pass · AA-large · AAA
Aa
#403021 on black: 1.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green18.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta25.0%
Yellow48.4%
Key (black)74.9%

Color previews

#403021 text on a black background

contrast 1.66:1

Card sample

#403021 text on a white background

contrast 12.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #403021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #403021 in the Color Lab