#8F171E#8F171E

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

Color values

HEX#8F171E
RGBrgb(143, 23, 30)
HSLhsl(357, 72%, 33%)
HSVhsv(357, 84%, 56%)
CMYKcmyk(0%, 83.9%, 79%, 43.9%)
CIE-LABlab(30.76, 48.39, 29.04)
CIE-LCHlch(30.76, 56.44, 30.97°)
OKLaboklab(42.18% 0.1401 0.064)
OKLCHoklch(42.18% 0.154 24.6)
XYZxyz(11.8699, 6.5481, 1.8670)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F171E #178F88
analogous
#8F175A #8F171E #8F4C17
triadic
#8F171E #1E8F17 #171E8F
tetradic
#8F171E #5A8F17 #178F88 #4C178F
square
#8F171E #5A8F17 #178F88 #4C178F
split-complementary
#8F171E #178F4C #175A8F
monochromatic
#260608 #5A0F13 #8F171E #C41F29 #E04049

Accessibility & contrast

On white

9.09
#8F171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F171E
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F171E#FFFFFF#000000##FFFFFF
##8F171E1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f171e;
/* rgb */ color: rgb(143, 23, 30);
/* oklch */ color: oklch(42.2% 0.154 24.6);
Tailwind
colors: {
  custom: {
    50: '#b8625a',
    500: '#8f171e',
    950: '#000000',
  },
}
SCSS
$custom: #8f171e;
$custom-light: #b8625a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f171e",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 356.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42183,
    "c": 0.15401,
    "h": 24.6
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#8F171E
secondary
#41C1B9
accent
#EFE439
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F171E

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

Preview Lab → · Contrast checker → · Palette generator →

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