#8F181F#8F181F

#8F181F is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.153 H 24.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8F181F
RGBrgb(143, 24, 31)
HSLhsl(356, 71%, 33%)
HSVhsv(356, 83%, 56%)
CMYKcmyk(0%, 83.2%, 78.3%, 43.9%)
CIE-LABlab(30.86, 48.16, 28.54)
CIE-LCHlch(30.86, 55.98, 30.66°)
OKLaboklab(42.27% 0.1396 0.0632)
OKLCHoklch(42.27% 0.153 24.4)
XYZxyz(11.9031, 6.5938, 1.9420)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F181F #188F88
analogous
#8F185A #8F181F #8F4D18
triadic
#8F181F #1F8F18 #181F8F
tetradic
#8F181F #5A8F18 #188F88 #4D188F
square
#8F181F #5A8F18 #188F88 #4D188F
split-complementary
#8F181F #188F4D #185A8F
monochromatic
#260608 #5B0F14 #8F181F #C3212A #DF424B

Accessibility & contrast

On white

9.06
#8F181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8F181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F181F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F181F#FFFFFF#000000##FFFFFF
##8F181F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381E
Deuteranopia (green-blind)
#5B521A
Tritanopia (blue-blind)
#9E001C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f181f;
/* rgb */ color: rgb(143, 24, 31);
/* oklch */ color: oklch(42.3% 0.153 24.4);
Tailwind
colors: {
  custom: {
    50: '#b8625b',
    500: '#8f181f',
    950: '#000000',
  },
}
SCSS
$custom: #8f181f;
$custom-light: #b8625b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f181f",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 356.471,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42268,
    "c": 0.15322,
    "h": 24.4
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#8F181F
secondary
#43C0B9
accent
#EEE33A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8F181F

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

Preview Lab → · Contrast checker → · Palette generator →

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