Skip to content

#202021

a deep, muted gray · warm · closest name: black

RGB
32, 32, 33
HSL
240°, 2%, 13%
CMYK
3, 3, 0, 87
Luminance
0.0145

Every format

HEX#202021
RGBrgb(32, 32, 33)
HSLhsl(240, 2%, 13%)
CMYKcmyk(3%, 3%, 0%, 87%)
LABlab(12.3 0.3 -0.7)
LCHlch(12.3 0.7 290.2)
OKLCHoklch(0.244 0.002 286.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#202021 on white: 16.28:1
AA ✓ pass · AA-large · AAA
Aa
#202021 on black: 1.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green12.5%
Blue12.9%

CMYK percentages

Cyan3.0%
Magenta3.0%
Yellow0.0%
Key (black)87.1%

Color previews

#202021 text on a black background

contrast 1.29:1

Card sample

#202021 text on a white background

contrast 16.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #202021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #202021 in the Color Lab