#8D1817#8D1817

#8D1817 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.152 H 27.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#8D1817
RGBrgb(141, 24, 23)
HSLhsl(1, 72%, 32%)
HSVhsv(1, 84%, 55%)
CMYKcmyk(0%, 83%, 83.7%, 44.7%)
CIE-LABlab(30.35, 47.28, 32.64)
CIE-LCHlch(30.35, 57.45, 34.62°)
OKLaboklab(41.79% 0.1353 0.0697)
OKLCHoklch(41.79% 0.152 27.2)
XYZxyz(11.4672, 6.3797, 1.4381)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1817 #178C8D
analogous
#8D1751 #8D1817 #8D5317
triadic
#8D1817 #178D18 #18178D
tetradic
#8D1817 #518D17 #178C8D #53178D
square
#8D1817 #518D17 #178C8D #53178D
split-complementary
#8D1817 #178D53 #17518D
monochromatic
#240606 #580F0E #8D1817 #C22120 #E0403F

Accessibility & contrast

On white

9.23
#8D1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8D1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1817
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1817#FFFFFF#000000##FFFFFF
##8D18171.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#5B5011
Tritanopia (blue-blind)
#9C001A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8d1817;
/* rgb */ color: rgb(141, 24, 23);
/* oklch */ color: oklch(41.8% 0.152 27.2);
Tailwind
colors: {
  custom: {
    50: '#b76255',
    500: '#8d1817',
    950: '#000000',
  },
}
SCSS
$custom: #8d1817;
$custom-light: #b76255;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1817",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.508,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41785,
    "c": 0.15214,
    "h": 27.2
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#8D1817
secondary
#40BFC0
accent
#EDEF39
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8D1817

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

Preview Lab → · Contrast checker → · Palette generator →

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