#8F171A#8F171A

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

Color values

HEX#8F171A
RGBrgb(143, 23, 26)
HSLhsl(359, 72%, 33%)
HSVhsv(359, 84%, 56%)
CMYKcmyk(0%, 83.9%, 81.8%, 43.9%)
CIE-LABlab(30.71, 48.25, 31.40)
CIE-LCHlch(30.71, 57.57, 33.05°)
OKLaboklab(42.14% 0.1387 0.0678)
OKLCHoklch(42.14% 0.154 26.1)
XYZxyz(11.8220, 6.5289, 1.6148)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F171A #178F8C
analogous
#8F1756 #8F171A #8F5017
triadic
#8F171A #1A8F17 #171A8F
tetradic
#8F171A #568F17 #178F8C #50178F
square
#8F171A #568F17 #178F8C #50178F
split-complementary
#8F171A #178F50 #17568F
monochromatic
#260607 #5A0F10 #8F171A #C41F24 #E04044

Accessibility & contrast

On white

9.11
#8F171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F171A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F171A#FFFFFF#000000##FFFFFF
##8F171A1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3818
Deuteranopia (green-blind)
#5C5114
Tritanopia (blue-blind)
#9E001A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8f171a;
/* rgb */ color: rgb(143, 23, 26);
/* oklch */ color: oklch(42.1% 0.154 26.1);
Tailwind
colors: {
  custom: {
    50: '#b96257',
    500: '#8f171a',
    950: '#000000',
  },
}
SCSS
$custom: #8f171a;
$custom-light: #b96257;
$custom-dark: #000000;
JSON
{
  "hex": "#8f171a",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 358.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42135,
    "c": 0.15443,
    "h": 26.1
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#8F171A
secondary
#41C1BE
accent
#EFEA39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F171A

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

Preview Lab → · Contrast checker → · Palette generator →

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