#170504#170504

#170504 is a very dark, muted red. Relative luminance 0.003; OKLCH L 14.8% C 0.035 H 27.0°. Best body text is #FFFFFF at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#170504
RGBrgb(23, 5, 4)
HSLhsl(3, 70%, 5%)
HSVhsv(3, 83%, 9%)
CMYKcmyk(0%, 78.3%, 82.6%, 91%)
CIE-LABlab(2.71, 5.94, 2.52)
CIE-LCHlch(2.71, 6.45, 22.99°)
OKLaboklab(14.82% 0.0312 0.0159)
OKLCHoklch(14.82% 0.035 27)
XYZxyz(0.4296, 0.2995, 0.1500)
Luminance0.0030 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170504 #041617
analogous
#17040C #170504 #170E04
triadic
#170504 #041705 #050417
tetradic
#170504 #0C1704 #041617 #0E0417
square
#170504 #0C1704 #041617 #0E0417
split-complementary
#170504 #04170E #040C17
monochromatic
#1A0605 #1A0605 #1A0605 #4B100D #7F1C16

Accessibility & contrast

On white

19.82
#170504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170504
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170504#FFFFFF#000000##FFFFFF
##1705041.0019.821.0619.82
#FFFFFF19.821.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090804
Deuteranopia (green-blind)
#0D0B04
Tritanopia (blue-blind)
#1A0305
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #170504;
/* rgb */ color: rgb(23, 5, 4);
/* oklch */ color: oklch(14.8% 0.035 27.0);
Tailwind
colors: {
  custom: {
    50: '#534948',
    500: '#170504',
    950: '#000000',
  },
}
SCSS
$custom: #170504;
$custom-light: #534948;
$custom-dark: #000000;
JSON
{
  "hex": "#170504",
  "rgb": {
    "r": 23,
    "g": 5,
    "b": 4
  },
  "hsl": {
    "h": 3.158,
    "s": 70.37,
    "l": 5.294
  },
  "oklch": {
    "l": 0.14819,
    "c": 0.03498,
    "h": 27
  },
  "luminance": 0.00299
}

Semantic roles & 50–950 ramp

primary
#170504
secondary
#1E5659
accent
#E4ED3B
background
#F4F4F4
surface
#E7E6E6
border
#C3C2C2
text
#020000
muted
#787777

Preview Lab

Preview with #170504

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

Preview Lab → · Contrast checker → · Palette generator →

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