#170403#170403

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

Color values

HEX#170403
RGBrgb(23, 4, 3)
HSLhsl(3, 77%, 5%)
HSVhsv(3, 87%, 9%)
CMYKcmyk(0%, 82.6%, 87%, 91%)
CIE-LABlab(2.49, 6.20, 2.61)
CIE-LCHlch(2.49, 6.72, 22.84°)
OKLaboklab(14.46% 0.0336 0.0177)
OKLCHoklch(14.46% 0.038 27.9)
XYZxyz(0.4132, 0.2756, 0.1176)
Luminance0.0028 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170403 #031617
analogous
#17030C #170403 #170E03
triadic
#170403 #031704 #040317
tetradic
#170403 #0C1703 #031617 #0E0317
square
#170403 #0C1703 #031617 #0E0317
split-complementary
#170403 #03170E #030C17
monochromatic
#1B0504 #1B0504 #1B0504 #4D0D0A #831711

Accessibility & contrast

On white

19.90
#170403 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170403
19.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170403#FFFFFF#000000##FFFFFF
##1704031.0019.901.0619.90
#FFFFFF19.901.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080703
Deuteranopia (green-blind)
#0D0B03
Tritanopia (blue-blind)
#1A0204
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #170403;
/* rgb */ color: rgb(23, 4, 3);
/* oklch */ color: oklch(14.5% 0.038 27.9);
Tailwind
colors: {
  custom: {
    50: '#534848',
    500: '#170403',
    950: '#000000',
  },
}
SCSS
$custom: #170403;
$custom-light: #534848;
$custom-dark: #000000;
JSON
{
  "hex": "#170403",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 3
  },
  "hsl": {
    "h": 3,
    "s": 76.923,
    "l": 5.098
  },
  "oklch": {
    "l": 0.1446,
    "c": 0.03795,
    "h": 27.9
  },
  "luminance": 0.00276
}

Semantic roles & 50–950 ramp

primary
#170403
secondary
#1B575B
accent
#EAF334
background
#F4F4F4
surface
#E7E6E6
border
#C3C2C2
text
#020000
muted
#787777

Preview Lab

Preview with #170403

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

Preview Lab → · Contrast checker → · Palette generator →

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