#8F181B#8F181B

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

Color values

HEX#8F181B
RGBrgb(143, 24, 27)
HSLhsl(358, 71%, 33%)
HSVhsv(358, 83%, 56%)
CMYKcmyk(0%, 83.2%, 81.1%, 43.9%)
CIE-LABlab(30.82, 48.01, 30.91)
CIE-LCHlch(30.82, 57.10, 32.78°)
OKLaboklab(42.22% 0.1382 0.0671)
OKLCHoklch(42.22% 0.154 25.9)
XYZxyz(11.8536, 6.5740, 1.6815)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F181B #188F8C
analogous
#8F1857 #8F181B #8F5018
triadic
#8F181B #1B8F18 #181B8F
tetradic
#8F181B #578F18 #188F8C #50188F
square
#8F181B #578F18 #188F8C #50188F
split-complementary
#8F181B #188F50 #18578F
monochromatic
#260607 #5B0F11 #8F181B #C32125 #DF4246

Accessibility & contrast

On white

9.07
#8F181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F181B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F181B#FFFFFF#000000##FFFFFF
##8F181B1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381A
Deuteranopia (green-blind)
#5C5216
Tritanopia (blue-blind)
#9E001B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f181b;
/* rgb */ color: rgb(143, 24, 27);
/* oklch */ color: oklch(42.2% 0.154 25.9);
Tailwind
colors: {
  custom: {
    50: '#b96258',
    500: '#8f181b',
    950: '#000000',
  },
}
SCSS
$custom: #8f181b;
$custom-light: #b96258;
$custom-dark: #000000;
JSON
{
  "hex": "#8f181b",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 358.487,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.15365,
    "h": 25.9
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#8F181B
secondary
#43C0BD
accent
#EEE93A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F181B

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

Preview Lab → · Contrast checker → · Palette generator →

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