#8F171C#8F171C

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

Color values

HEX#8F171C
RGBrgb(143, 23, 28)
HSLhsl(358, 72%, 33%)
HSVhsv(358, 84%, 56%)
CMYKcmyk(0%, 83.9%, 80.4%, 43.9%)
CIE-LABlab(30.73, 48.32, 30.23)
CIE-LCHlch(30.73, 57.00, 32.03°)
OKLaboklab(42.16% 0.1394 0.066)
OKLCHoklch(42.16% 0.154 25.3)
XYZxyz(11.8451, 6.5382, 1.7367)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F171C #178F8A
analogous
#8F1758 #8F171C #8F4E17
triadic
#8F171C #1C8F17 #171C8F
tetradic
#8F171C #588F17 #178F8A #4E178F
square
#8F171C #588F17 #178F8A #4E178F
split-complementary
#8F171C #178F4E #17588F
monochromatic
#260607 #5A0F12 #8F171C #C41F26 #E04047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F171C#FFFFFF#000000##FFFFFF
##8F171C1.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)
#3E381B
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#9E001B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8f171c;
/* rgb */ color: rgb(143, 23, 28);
/* oklch */ color: oklch(42.2% 0.154 25.3);
Tailwind
colors: {
  custom: {
    50: '#b96258',
    500: '#8f171c',
    950: '#000000',
  },
}
SCSS
$custom: #8f171c;
$custom-light: #b96258;
$custom-dark: #000000;
JSON
{
  "hex": "#8f171c",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 357.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.15421,
    "h": 25.3
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#8F171C
secondary
#41C1BB
accent
#EFE739
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F171C

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

Preview Lab → · Contrast checker → · Palette generator →

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