#170508#170508

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

Color values

HEX#170508
RGBrgb(23, 5, 8)
HSLhsl(350, 64%, 5%)
HSVhsv(350, 78%, 9%)
CMYKcmyk(0%, 78.3%, 65.2%, 91%)
CIE-LABlab(2.78, 6.49, 1.01)
CIE-LCHlch(2.78, 6.57, 8.80°)
OKLaboklab(14.99% 0.0342 0.0057)
OKLCHoklch(14.99% 0.035 9.5)
XYZxyz(0.4515, 0.3083, 0.2654)
Luminance0.0031 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170508 #051714
analogous
#170511 #170508 #170B05
triadic
#170508 #081705 #050817
tetradic
#170508 #111705 #051714 #0B0517
square
#170508 #111705 #051714 #0B0517
split-complementary
#170508 #05170B #051117
monochromatic
#190509 #190509 #190509 #491019 #7C1B2B

Accessibility & contrast

On white

19.78
#170508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170508
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170508#FFFFFF#000000##FFFFFF
##1705081.0019.781.0619.78
#FFFFFF19.781.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080808
Deuteranopia (green-blind)
#0D0C08
Tritanopia (blue-blind)
#1A0406
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #170508;
/* rgb */ color: rgb(23, 5, 8);
/* oklch */ color: oklch(15.0% 0.035 9.5);
Tailwind
colors: {
  custom: {
    50: '#53494a',
    500: '#170508',
    950: '#000000',
  },
}
SCSS
$custom: #170508;
$custom-light: #53494a;
$custom-dark: #000000;
JSON
{
  "hex": "#170508",
  "rgb": {
    "r": 23,
    "g": 5,
    "b": 8
  },
  "hsl": {
    "h": 350,
    "s": 64.286,
    "l": 5.49
  },
  "oklch": {
    "l": 0.14994,
    "c": 0.0347,
    "h": 9.5
  },
  "luminance": 0.00308
}

Semantic roles & 50–950 ramp

primary
#170508
secondary
#21574E
accent
#E7CB41
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020001
muted
#787777

Preview Lab

Preview with #170508

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

Preview Lab → · Contrast checker → · Palette generator →

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