#8F161F#8F161F

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

Color values

HEX#8F161F
RGBrgb(143, 22, 31)
HSLhsl(356, 73%, 32%)
HSVhsv(356, 85%, 56%)
CMYKcmyk(0%, 84.6%, 78.3%, 43.9%)
CIE-LABlab(30.67, 48.69, 28.34)
CIE-LCHlch(30.67, 56.34, 30.20°)
OKLaboklab(42.13% 0.1413 0.0628)
OKLCHoklch(42.13% 0.155 24)
XYZxyz(11.8634, 6.5143, 1.9288)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F161F #168F86
analogous
#8F165C #8F161F #8F4916
triadic
#8F161F #1F8F16 #161F8F
tetradic
#8F161F #5C8F16 #168F86 #49168F
square
#8F161F #5C8F16 #168F86 #49168F
split-complementary
#8F161F #168F49 #165C8F
monochromatic
#250608 #5A0E14 #8F161F #C41E2A #E13E4A

Accessibility & contrast

On white

9.12
#8F161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8F161F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F161F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F161F#FFFFFF#000000##FFFFFF
##8F161F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f161f;
/* rgb */ color: rgb(143, 22, 31);
/* oklch */ color: oklch(42.1% 0.155 24.0);
Tailwind
colors: {
  custom: {
    50: '#b8625b',
    500: '#8f161f',
    950: '#000000',
  },
}
SCSS
$custom: #8f161f;
$custom-light: #b8625b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f161f",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 355.537,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42128,
    "c": 0.15459,
    "h": 24
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#8F161F
secondary
#3FC1B8
accent
#F0E238
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8F161F

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

Preview Lab → · Contrast checker → · Palette generator →

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