#8E1A1A#8E1A1A

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

Color values

HEX#8E1A1A
RGBrgb(142, 26, 26)
HSLhsl(0, 69%, 33%)
HSVhsv(0, 82%, 56%)
CMYKcmyk(0%, 81.7%, 81.7%, 44.3%)
CIE-LABlab(30.80, 47.10, 31.42)
CIE-LCHlch(30.80, 56.62, 33.71°)
OKLaboklab(42.16% 0.1352 0.068)
OKLCHoklch(42.16% 0.151 26.7)
XYZxyz(11.7126, 6.5661, 1.6277)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A1A #1A8E8E
analogous
#8E1A54 #8E1A1A #8E541A
triadic
#8E1A1A #1A8E1A #1A1A8E
tetradic
#8E1A1A #548E1A #1A8E8E #541A8E
square
#8E1A1A #548E1A #1A8E8E #541A8E
split-complementary
#8E1A1A #1A8E54 #1A548E
monochromatic
#270707 #5A1111 #8E1A1A #C22323 #DD4545

Accessibility & contrast

On white

9.08
#8E1A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8E1A1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A1A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A1A#FFFFFF#000000##FFFFFF
##8E1A1A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3818
Deuteranopia (green-blind)
#5C5115
Tritanopia (blue-blind)
#9D001C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1a1a;
/* rgb */ color: rgb(142, 26, 26);
/* oklch */ color: oklch(42.2% 0.151 26.7);
Tailwind
colors: {
  custom: {
    50: '#b86357',
    500: '#8e1a1a',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a1a;
$custom-light: #b86357;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a1a",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 26
  },
  "hsl": {
    "h": 0,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.15135,
    "h": 26.7
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#8E1A1A
secondary
#45BEBE
accent
#ECEC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E1A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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