#8F171D#8F171D

#8F171D is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.2% C 0.154 H 24.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#8F171D
RGBrgb(143, 23, 29)
HSLhsl(357, 72%, 33%)
HSVhsv(357, 84%, 56%)
CMYKcmyk(0%, 83.9%, 79.7%, 43.9%)
CIE-LABlab(30.74, 48.35, 29.64)
CIE-LCHlch(30.74, 56.71, 31.50°)
OKLaboklab(42.17% 0.1397 0.065)
OKLCHoklch(42.17% 0.154 24.9)
XYZxyz(11.8573, 6.5431, 1.8008)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F171D #178F89
analogous
#8F1759 #8F171D #8F4D17
triadic
#8F171D #1D8F17 #171D8F
tetradic
#8F171D #598F17 #178F89 #4D178F
square
#8F171D #598F17 #178F89 #4D178F
split-complementary
#8F171D #178F4D #17598F
monochromatic
#260608 #5A0F12 #8F171D #C41F28 #E04048

Accessibility & contrast

On white

9.10
#8F171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8F171D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F171D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F171D#FFFFFF#000000##FFFFFF
##8F171D1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381C
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#9E001B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8f171d;
/* rgb */ color: rgb(143, 23, 29);
/* oklch */ color: oklch(42.2% 0.154 24.9);
Tailwind
colors: {
  custom: {
    50: '#b96259',
    500: '#8f171d',
    950: '#000000',
  },
}
SCSS
$custom: #8f171d;
$custom-light: #b96259;
$custom-dark: #000000;
JSON
{
  "hex": "#8f171d",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 357,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42171,
    "c": 0.15411,
    "h": 24.9
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#8F171D
secondary
#41C1BA
accent
#EFE639
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F171D

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

Preview Lab → · Contrast checker → · Palette generator →

#8F171D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva