#8E1D12#8E1D12

#8E1D12 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.3% C 0.150 H 30.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8E1D12
RGBrgb(142, 29, 18)
HSLhsl(5, 78%, 31%)
HSVhsv(5, 87%, 56%)
CMYKcmyk(0%, 79.6%, 87.3%, 44.3%)
CIE-LABlab(31.06, 45.94, 36.08)
CIE-LCHlch(31.06, 58.41, 38.15°)
OKLaboklab(42.33% 0.13 0.0751)
OKLCHoklch(42.33% 0.15 30)
XYZxyz(11.7053, 6.6751, 1.2442)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D12 #12838E
analogous
#8E1245 #8E1D12 #8E5B12
triadic
#8E1D12 #128E1D #1D128E
tetradic
#8E1D12 #458E12 #12838E #5B128E
square
#8E1D12 #458E12 #12838E #5B128E
split-complementary
#8E1D12 #128E5B #12458E
monochromatic
#210704 #58120B #8E1D12 #C42819 #E54535

Accessibility & contrast

On white

9.00
#8E1D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E1D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D12
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D12#FFFFFF#000000##FFFFFF
##8E1D121.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390F
Deuteranopia (green-blind)
#5D520B
Tritanopia (blue-blind)
#9D001C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1d12;
/* rgb */ color: rgb(142, 29, 18);
/* oklch */ color: oklch(42.3% 0.150 30.0);
Tailwind
colors: {
  custom: {
    50: '#b86452',
    500: '#8e1d12',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d12;
$custom-light: #b86452;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d12",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 5.323,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.15013,
    "h": 30
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#8E1D12
secondary
#3AB6C2
accent
#E3F434
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8E1D12

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

Preview Lab → · Contrast checker → · Palette generator →

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