#8E1D17#8E1D17

#8E1D17 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.149 H 28.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#8E1D17
RGBrgb(142, 29, 23)
HSLhsl(3, 72%, 32%)
HSVhsv(3, 84%, 56%)
CMYKcmyk(0%, 79.6%, 83.8%, 44.3%)
CIE-LABlab(31.10, 46.07, 33.43)
CIE-LCHlch(31.10, 56.93, 35.97°)
OKLaboklab(42.38% 0.1314 0.0713)
OKLCHoklch(42.38% 0.149 28.5)
XYZxyz(11.7508, 6.6933, 1.4837)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D17 #17888E
analogous
#8E174D #8E1D17 #8E5817
triadic
#8E1D17 #178E1D #1D178E
tetradic
#8E1D17 #4D8E17 #17888E #58178E
square
#8E1D17 #4D8E17 #17888E #58178E
split-complementary
#8E1D17 #178E58 #174D8E
monochromatic
#250706 #59120E #8E1D17 #C32820 #E0483F

Accessibility & contrast

On white

8.98
#8E1D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E1D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D17
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D17#FFFFFF#000000##FFFFFF
##8E1D171.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413915
Deuteranopia (green-blind)
#5C5211
Tritanopia (blue-blind)
#9D001D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1d17;
/* rgb */ color: rgb(142, 29, 23);
/* oklch */ color: oklch(42.4% 0.149 28.5);
Tailwind
colors: {
  custom: {
    50: '#b86455',
    500: '#8e1d17',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d17;
$custom-light: #b86455;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d17",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 23
  },
  "hsl": {
    "h": 3.025,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42377,
    "c": 0.14948,
    "h": 28.5
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#8E1D17
secondary
#40BAC0
accent
#E6EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E1D17

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

Preview Lab → · Contrast checker → · Palette generator →

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