#8D171D#8D171D

#8D171D is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.152 H 24.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#8D171D
RGBrgb(141, 23, 29)
HSLhsl(357, 72%, 32%)
HSVhsv(357, 84%, 55%)
CMYKcmyk(0%, 83.7%, 79.4%, 44.7%)
CIE-LABlab(30.32, 47.75, 29.05)
CIE-LCHlch(30.32, 55.90, 31.32°)
OKLaboklab(41.78% 0.1381 0.0639)
OKLCHoklch(41.78% 0.152 24.8)
XYZxyz(11.5141, 6.3661, 1.7847)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D171D #178D87
analogous
#8D1758 #8D171D #8D4C17
triadic
#8D171D #1D8D17 #171D8D
tetradic
#8D171D #588D17 #178D87 #4C178D
square
#8D171D #588D17 #178D87 #4C178D
split-complementary
#8D171D #178D4C #17588D
monochromatic
#240607 #580E12 #8D171D #C22028 #E03F47

Accessibility & contrast

On white

9.24
#8D171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8D171D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D171D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D171D#FFFFFF#000000##FFFFFF
##8D171D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#9C001B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8d171d;
/* rgb */ color: rgb(141, 23, 29);
/* oklch */ color: oklch(41.8% 0.152 24.8);
Tailwind
colors: {
  custom: {
    50: '#b76259',
    500: '#8d171d',
    950: '#000000',
  },
}
SCSS
$custom: #8d171d;
$custom-light: #b76259;
$custom-dark: #000000;
JSON
{
  "hex": "#8d171d",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 356.949,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41781,
    "c": 0.15216,
    "h": 24.8
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#8D171D
secondary
#40C0B9
accent
#EFE539
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8D171D

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

Preview Lab → · Contrast checker → · Palette generator →

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