Skip to content

#342321

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

RGB
52, 35, 33
HSL
6°, 22%, 17%
CMYK
0, 33, 37, 80
Luminance
0.0204

Every format

HEX#342321
RGBrgb(52, 35, 33)
HSLhsl(6, 22%, 17%)
CMYKcmyk(0%, 33%, 37%, 80%)
LABlab(15.7 7.8 4.6)
LCHlch(15.7 9.0 30.4)
OKLCHoklch(0.276 0.027 26.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#342321 on white: 14.91:1
AA ✓ pass · AA-large · AAA
Aa
#342321 on black: 1.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.4%
Green13.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta32.7%
Yellow36.5%
Key (black)79.6%

Color previews

#342321 text on a black background

contrast 1.41:1

Card sample

#342321 text on a white background

contrast 14.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #342321

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #342321 in the Color Lab