#170408#170408

#170408 is a very dark, muted red. Relative luminance 0.003; OKLCH L 14.7% C 0.038 H 6.5°. Best body text is #FFFFFF at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#170408
RGBrgb(23, 4, 8)
HSLhsl(347, 70%, 5%)
HSVhsv(347, 83%, 9%)
CMYKcmyk(0%, 82.6%, 65.2%, 91%)
CIE-LABlab(2.59, 6.89, 0.72)
CIE-LCHlch(2.59, 6.93, 5.96°)
OKLaboklab(14.69% 0.0376 0.0043)
OKLCHoklch(14.69% 0.038 6.5)
XYZxyz(0.4406, 0.2866, 0.2618)
Luminance0.0029 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170408 #041713
analogous
#170411 #170408 #170904
triadic
#170408 #081704 #040817
tetradic
#170408 #111704 #041713 #090417
square
#170408 #111704 #041713 #090417
split-complementary
#170408 #041709 #041117
monochromatic
#1A0509 #1A0509 #1A0509 #4B0D1A #7F162C

Accessibility & contrast

On white

19.86
#170408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#170408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170408
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170408#FFFFFF#000000##FFFFFF
##1704081.0019.861.0619.86
#FFFFFF19.861.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070708
Deuteranopia (green-blind)
#0C0B08
Tritanopia (blue-blind)
#1A0305
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #170408;
/* rgb */ color: rgb(23, 4, 8);
/* oklch */ color: oklch(14.7% 0.038 6.5);
Tailwind
colors: {
  custom: {
    50: '#53484a',
    500: '#170408',
    950: '#000000',
  },
}
SCSS
$custom: #170408;
$custom-light: #53484a;
$custom-dark: #000000;
JSON
{
  "hex": "#170408",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 8
  },
  "hsl": {
    "h": 347.368,
    "s": 70.37,
    "l": 5.294
  },
  "oklch": {
    "l": 0.14689,
    "c": 0.03783,
    "h": 6.5
  },
  "luminance": 0.00287
}

Semantic roles & 50–950 ramp

primary
#170408
secondary
#1E594C
accent
#EDC83B
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020001
muted
#787777

Preview Lab

Preview with #170408

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#170408 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva