#8E1A1F#8E1A1F

#8E1A1F is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.151 H 24.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8E1A1F
RGBrgb(142, 26, 31)
HSLhsl(357, 69%, 33%)
HSVhsv(357, 82%, 56%)
CMYKcmyk(0%, 81.7%, 78.2%, 44.3%)
CIE-LABlab(30.86, 47.28, 28.48)
CIE-LCHlch(30.86, 55.19, 31.06°)
OKLaboklab(42.23% 0.1369 0.0632)
OKLCHoklch(42.23% 0.151 24.8)
XYZxyz(11.7735, 6.5904, 1.9482)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A1F #1A8E89
analogous
#8E1A59 #8E1A1F #8E4F1A
triadic
#8E1A1F #1F8E1A #1A1F8E
tetradic
#8E1A1F #598E1A #1A8E89 #4F1A8E
square
#8E1A1F #598E1A #1A8E89 #4F1A8E
split-complementary
#8E1A1F #1A8E4F #1A598E
monochromatic
#270708 #5A1114 #8E1A1F #C2232A #DD454C

Accessibility & contrast

On white

9.06
#8E1A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8E1A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A1F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A1F#FFFFFF#000000##FFFFFF
##8E1A1F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391E
Deuteranopia (green-blind)
#5B521A
Tritanopia (blue-blind)
#9D001D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1a1f;
/* rgb */ color: rgb(142, 26, 31);
/* oklch */ color: oklch(42.2% 0.151 24.8);
Tailwind
colors: {
  custom: {
    50: '#b7635b',
    500: '#8e1a1f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a1f;
$custom-light: #b7635b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a1f",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 357.414,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42225,
    "c": 0.15078,
    "h": 24.8
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#8E1A1F
secondary
#45BEB9
accent
#ECE43C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E1A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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