#8D1017#8D1017

#8D1017 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.3% C 0.157 H 25.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#8D1017
RGBrgb(141, 16, 23)
HSLhsl(357, 80%, 31%)
HSVhsv(357, 89%, 55%)
CMYKcmyk(0%, 88.7%, 83.7%, 44.7%)
CIE-LABlab(29.66, 49.25, 31.96)
CIE-LCHlch(29.66, 58.71, 32.98°)
OKLaboklab(41.27% 0.1415 0.0682)
OKLCHoklch(41.27% 0.157 25.7)
XYZxyz(11.3259, 6.0971, 1.3910)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1017 #108D86
analogous
#8D1055 #8D1017 #8D4710
triadic
#8D1017 #178D10 #10178D
tetradic
#8D1017 #558D10 #108D86 #47108D
square
#8D1017 #558D10 #108D86 #47108D
split-complementary
#8D1017 #108D47 #10558D
monochromatic
#1F0405 #560A0E #8D1017 #C41620 #E7303A

Accessibility & contrast

On white

9.46
#8D1017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#8D1017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1017
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1017#FFFFFF#000000##FFFFFF
##8D10171.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3515
Deuteranopia (green-blind)
#594F10
Tritanopia (blue-blind)
#9C0015
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8d1017;
/* rgb */ color: rgb(141, 16, 23);
/* oklch */ color: oklch(41.3% 0.157 25.7);
Tailwind
colors: {
  custom: {
    50: '#b85f55',
    500: '#8d1017',
    950: '#000000',
  },
}
SCSS
$custom: #8d1017;
$custom-light: #b85f55;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1017",
  "rgb": {
    "r": 141,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 356.64,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.15705,
    "h": 25.7
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#8D1017
secondary
#37C2BA
accent
#F6EB32
background
#FCF6F4
surface
#F8EBE8
border
#D1C6C4
text
#130503
muted
#827A78

Preview Lab

Preview with #8D1017

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

Preview Lab → · Contrast checker → · Palette generator →

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