Skip to content

#170d13

a deep, soft magenta / pink · warm · closest name: black

RGB
23, 13, 19
HSL
324°, 28%, 7%
CMYK
0, 44, 17, 91
Luminance
0.0052

Every format

HEX#170d13
RGBrgb(23, 13, 19)
HSLhsl(324, 28%, 7%)
CMYKcmyk(0%, 44%, 17%, 91%)
LABlab(4.7 5.0 -1.7)
LCHlch(4.7 5.3 341.2)
OKLCHoklch(0.175 0.021 342.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#170d13 on white: 19.03:1
AA ✓ pass · AA-large · AAA
Aa
#170d13 on black: 1.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.0%
Green5.1%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta43.5%
Yellow17.4%
Key (black)91.0%

Color previews

#170d13 text on a black background

contrast 1.10:1

Card sample

#170d13 text on a white background

contrast 19.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 13, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 13, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #170d13;
background: linear-gradient(135deg, #170d13, #170E0D);

Monochromatic scale

Palettes built from #170d13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #170d13 in the Color Lab