#8D172E#8D172E

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

Color values

HEX#8D172E
RGBrgb(141, 23, 46)
HSLhsl(348, 72%, 32%)
HSVhsv(348, 84%, 55%)
CMYKcmyk(0%, 83.7%, 67.4%, 44.7%)
CIE-LABlab(30.58, 48.55, 18.50)
CIE-LCHlch(30.58, 51.96, 20.86°)
OKLaboklab(42.06% 0.1446 0.0441)
OKLCHoklch(42.06% 0.151 16.9)
XYZxyz(11.7854, 6.4746, 3.2134)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D172E #178D76
analogous
#8D1769 #8D172E #8D3B17
triadic
#8D172E #2E8D17 #172E8D
tetradic
#8D172E #698D17 #178D76 #3B178D
square
#8D172E #698D17 #178D76 #3B178D
split-complementary
#8D172E #178D3B #17698D
monochromatic
#24060C #580E1D #8D172E #C2203F #E03F5E

Accessibility & contrast

On white

9.15
#8D172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D172E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D172E#FFFFFF#000000##FFFFFF
##8D172E1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382E
Deuteranopia (green-blind)
#59512B
Tritanopia (blue-blind)
#9B0021
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d172e;
/* rgb */ color: rgb(141, 23, 46);
/* oklch */ color: oklch(42.1% 0.151 16.9);
Tailwind
colors: {
  custom: {
    50: '#b66266',
    500: '#8d172e',
    950: '#000000',
  },
}
SCSS
$custom: #8d172e;
$custom-light: #b66266;
$custom-dark: #000000;
JSON
{
  "hex": "#8d172e",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 348.305,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42058,
    "c": 0.1512,
    "h": 16.9
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#8D172E
secondary
#40C0A7
accent
#EFCB39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A

Preview Lab

Preview with #8D172E

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

Preview Lab → · Contrast checker → · Palette generator →

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