Skip to content

#170708

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

RGB
23, 7, 8
HSL
356°, 53%, 6%
CMYK
0, 70, 65, 91
Luminance
0.0035

Every format

HEX#170708
RGBrgb(23, 7, 8)
HSLhsl(356, 53%, 6%)
CMYKcmyk(0%, 70%, 65%, 91%)
LABlab(3.2 5.7 1.6)
LCHlch(3.2 5.9 15.5)
OKLCHoklch(0.156 0.029 16.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#170708 on white: 19.62:1
AA ✓ pass · AA-large · AAA
Aa
#170708 on black: 1.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.0%
Green2.7%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta69.6%
Yellow65.2%
Key (black)91.0%

Color previews

#170708 text on a black background

contrast 1.07:1

Card sample

#170708 text on a white background

contrast 19.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #170708

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #170708 in the Color Lab