Skip to content

#162021

a deep, soft cyan · cool · closest name: black

RGB
22, 32, 33
HSL
186°, 20%, 11%
CMYK
33, 3, 0, 87
Luminance
0.0131

Every format

HEX#162021
RGBrgb(22, 32, 33)
HSLhsl(186, 20%, 11%)
CMYKcmyk(33%, 3%, 0%, 87%)
LABlab(11.4 -4.1 -2.1)
LCHlch(11.4 4.7 207.3)
OKLCHoklch(0.234 0.014 203.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#162021 on white: 16.63:1
AA ✓ pass · AA-large · AAA
Aa
#162021 on black: 1.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red8.6%
Green12.5%
Blue12.9%

CMYK percentages

Cyan33.3%
Magenta3.0%
Yellow0.0%
Key (black)87.1%

Color previews

#162021 text on a black background

contrast 1.26:1

Card sample

#162021 text on a white background

contrast 16.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #162021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #162021 in the Color Lab