#170804#170804

#170804 is a very dark, muted red. Relative luminance 0.004; OKLCH L 15.7% C 0.029 H 40.5°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#170804
RGBrgb(23, 8, 4)
HSLhsl(13, 70%, 5%)
HSVhsv(13, 83%, 9%)
CMYKcmyk(0%, 65.2%, 82.6%, 91%)
CIE-LABlab(3.29, 4.73, 3.38)
CIE-LCHlch(3.29, 5.81, 35.50°)
OKLaboklab(15.68% 0.0224 0.0191)
OKLCHoklch(15.68% 0.029 40.5)
XYZxyz(0.4621, 0.3646, 0.1609)
Luminance0.0037 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170804 #041317
analogous
#170409 #170804 #171104
triadic
#170804 #041708 #080417
tetradic
#170804 #091704 #041317 #110417
square
#170804 #091704 #041317 #110417
split-complementary
#170804 #041711 #040917
monochromatic
#1A0905 #1A0905 #1A0905 #4B1A0D #7F2C16

Accessibility & contrast

On white

19.57
#170804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#170804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170804
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170804#FFFFFF#000000##FFFFFF
##1708041.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0A04
Deuteranopia (green-blind)
#0F0D04
Tritanopia (blue-blind)
#1A0607
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #170804;
/* rgb */ color: rgb(23, 8, 4);
/* oklch */ color: oklch(15.7% 0.029 40.5);
Tailwind
colors: {
  custom: {
    50: '#534a48',
    500: '#170804',
    950: '#000000',
  },
}
SCSS
$custom: #170804;
$custom-light: #534a48;
$custom-dark: #000000;
JSON
{
  "hex": "#170804",
  "rgb": {
    "r": 23,
    "g": 8,
    "b": 4
  },
  "hsl": {
    "h": 12.632,
    "s": 70.37,
    "l": 5.294
  },
  "oklch": {
    "l": 0.15683,
    "c": 0.02941,
    "h": 40.5
  },
  "luminance": 0.00365
}

Semantic roles & 50–950 ramp

primary
#170804
secondary
#1E4C59
accent
#C8ED3B
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#020100
muted
#787777

Preview Lab

Preview with #170804

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

Preview Lab → · Contrast checker → · Palette generator →

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