Skip to content

#172421

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

RGB
23, 36, 33
HSL
166°, 22%, 12%
CMYK
36, 0, 8, 86
Luminance
0.0155

Every format

HEX#172421
RGBrgb(23, 36, 33)
HSLhsl(166, 22%, 12%)
CMYKcmyk(36%, 0%, 8%, 86%)
LABlab(12.9 -6.5 0.2)
LCHlch(12.9 6.5 178.3)
OKLCHoklch(0.247 0.019 178.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#172421 on white: 16.02:1
AA ✓ pass · AA-large · AAA
Aa
#172421 on black: 1.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.0%
Green14.1%
Blue12.9%

CMYK percentages

Cyan36.1%
Magenta0.0%
Yellow8.3%
Key (black)85.9%

Color previews

#172421 text on a black background

contrast 1.31:1

Card sample

#172421 text on a white background

contrast 16.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #172421

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #172421 in the Color Lab