#8D172D#8D172D

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

Color values

HEX#8D172D
RGBrgb(141, 23, 45)
HSLhsl(349, 72%, 32%)
HSVhsv(349, 84%, 55%)
CMYKcmyk(0%, 83.7%, 68.1%, 44.7%)
CIE-LABlab(30.56, 48.50, 19.14)
CIE-LCHlch(30.56, 52.14, 21.53°)
OKLaboklab(42.04% 0.1442 0.0454)
OKLCHoklch(42.04% 0.151 17.5)
XYZxyz(11.7659, 6.4668, 3.1108)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D172D #178D77
analogous
#8D1768 #8D172D #8D3C17
triadic
#8D172D #2D8D17 #172D8D
tetradic
#8D172D #688D17 #178D77 #3C178D
square
#8D172D #688D17 #178D77 #3C178D
split-complementary
#8D172D #178D3C #17688D
monochromatic
#24060B #580E1C #8D172D #C2203E #E03F5D

Accessibility & contrast

On white

9.16
#8D172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D172D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D172D#FFFFFF#000000##FFFFFF
##8D172D1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382D
Deuteranopia (green-blind)
#595129
Tritanopia (blue-blind)
#9B0021
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d172d;
/* rgb */ color: rgb(141, 23, 45);
/* oklch */ color: oklch(42.0% 0.151 17.5);
Tailwind
colors: {
  custom: {
    50: '#b66265',
    500: '#8d172d',
    950: '#000000',
  },
}
SCSS
$custom: #8d172d;
$custom-light: #b66265;
$custom-dark: #000000;
JSON
{
  "hex": "#8d172d",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 348.814,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.1512,
    "h": 17.5
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#8D172D
secondary
#40C0A8
accent
#EFCD39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A

Preview Lab

Preview with #8D172D

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

Preview Lab → · Contrast checker → · Palette generator →

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