#8D171E#8D171E

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

Color values

HEX#8D171E
RGBrgb(141, 23, 30)
HSLhsl(356, 72%, 32%)
HSVhsv(356, 84%, 55%)
CMYKcmyk(0%, 83.7%, 78.7%, 44.7%)
CIE-LABlab(30.33, 47.79, 28.45)
CIE-LCHlch(30.33, 55.62, 30.77°)
OKLaboklab(41.79% 0.1384 0.0629)
OKLCHoklch(41.79% 0.152 24.4)
XYZxyz(11.5266, 6.3711, 1.8509)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D171E #178D86
analogous
#8D1759 #8D171E #8D4B17
triadic
#8D171E #1E8D17 #171E8D
tetradic
#8D171E #598D17 #178D86 #4B178D
square
#8D171E #598D17 #178D86 #4B178D
split-complementary
#8D171E #178D4B #17598D
monochromatic
#240608 #580E13 #8D171E #C22029 #E03F48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D171E#FFFFFF#000000##FFFFFF
##8D171E1.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)
#3D371D
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#9C001B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8d171e;
/* rgb */ color: rgb(141, 23, 30);
/* oklch */ color: oklch(41.8% 0.152 24.4);
Tailwind
colors: {
  custom: {
    50: '#b7625a',
    500: '#8d171e',
    950: '#000000',
  },
}
SCSS
$custom: #8d171e;
$custom-light: #b7625a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d171e",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 356.441,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.15206,
    "h": 24.4
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#8D171E
secondary
#40C0B8
accent
#EFE439
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8D171E

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

Preview Lab → · Contrast checker → · Palette generator →

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