#8D172A#8D172A

#8D172A is a dark, vivid red. Relative luminance 0.064; OKLCH L 42.0% C 0.151 H 19.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8D172A
RGBrgb(141, 23, 42)
HSLhsl(350, 72%, 32%)
HSVhsv(350, 84%, 55%)
CMYKcmyk(0%, 83.7%, 70.2%, 44.7%)
CIE-LABlab(30.51, 48.33, 21.03)
CIE-LCHlch(30.51, 52.71, 23.51°)
OKLaboklab(41.98% 0.143 0.0492)
OKLCHoklch(41.98% 0.151 19)
XYZxyz(11.7102, 6.4445, 2.8174)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D172A #178D7A
analogous
#8D1765 #8D172A #8D3F17
triadic
#8D172A #2A8D17 #172A8D
tetradic
#8D172A #658D17 #178D7A #3F178D
square
#8D172A #658D17 #178D7A #3F178D
split-complementary
#8D172A #178D3F #17658D
monochromatic
#24060B #580E1A #8D172A #C2203A #E03F59

Accessibility & contrast

On white

9.18
#8D172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8D172A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D172A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D172A#FFFFFF#000000##FFFFFF
##8D172A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C382A
Deuteranopia (green-blind)
#595126
Tritanopia (blue-blind)
#9B0020
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d172a;
/* rgb */ color: rgb(141, 23, 42);
/* oklch */ color: oklch(42.0% 0.151 19.0);
Tailwind
colors: {
  custom: {
    50: '#b66263',
    500: '#8d172a',
    950: '#000000',
  },
}
SCSS
$custom: #8d172a;
$custom-light: #b66263;
$custom-dark: #000000;
JSON
{
  "hex": "#8d172a",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 350.339,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.15124,
    "h": 19
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#8D172A
secondary
#40C0AB
accent
#EFD139
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8D172A

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

Preview Lab → · Contrast checker → · Palette generator →

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