#8D172C#8D172C

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

Color values

HEX#8D172C
RGBrgb(141, 23, 44)
HSLhsl(349, 72%, 32%)
HSVhsv(349, 84%, 55%)
CMYKcmyk(0%, 83.7%, 68.8%, 44.7%)
CIE-LABlab(30.54, 48.44, 19.77)
CIE-LCHlch(30.54, 52.32, 22.20°)
OKLaboklab(42.02% 0.1438 0.0467)
OKLCHoklch(42.02% 0.151 18)
XYZxyz(11.7468, 6.4592, 3.0106)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D172C #178D78
analogous
#8D1767 #8D172C #8D3D17
triadic
#8D172C #2C8D17 #172C8D
tetradic
#8D172C #678D17 #178D78 #3D178D
square
#8D172C #678D17 #178D78 #3D178D
split-complementary
#8D172C #178D3D #17678D
monochromatic
#24060B #580E1C #8D172C #C2203C #E03F5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D172C#FFFFFF#000000##FFFFFF
##8D172C1.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)
#3B382C
Deuteranopia (green-blind)
#595128
Tritanopia (blue-blind)
#9B0021
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d172c;
/* rgb */ color: rgb(141, 23, 44);
/* oklch */ color: oklch(42.0% 0.151 18.0);
Tailwind
colors: {
  custom: {
    50: '#b66264',
    500: '#8d172c',
    950: '#000000',
  },
}
SCSS
$custom: #8d172c;
$custom-light: #b66264;
$custom-dark: #000000;
JSON
{
  "hex": "#8d172c",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 349.322,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.1512,
    "h": 18
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#8D172C
secondary
#40C0A9
accent
#EFCE39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A

Preview Lab

Preview with #8D172C

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

Preview Lab → · Contrast checker → · Palette generator →

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