#8E2312#8E2312

#8E2312 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.9% C 0.145 H 31.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#8E2312
RGBrgb(142, 35, 18)
HSLhsl(8, 78%, 31%)
HSVhsv(8, 87%, 56%)
CMYKcmyk(0%, 75.4%, 87.3%, 44.3%)
CIE-LABlab(31.80, 43.85, 36.73)
CIE-LCHlch(31.80, 57.20, 39.95°)
OKLaboklab(42.89% 0.1235 0.0766)
OKLCHoklch(42.89% 0.145 31.8)
XYZxyz(11.8670, 6.9984, 1.2981)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2312 #127D8E
analogous
#8E123F #8E2312 #8E6112
triadic
#8E2312 #128E23 #23128E
tetradic
#8E2312 #3F8E12 #127D8E #61128E
square
#8E2312 #3F8E12 #127D8E #61128E
split-complementary
#8E2312 #128E61 #123F8E
monochromatic
#210804 #58160B #8E2312 #C43019 #E54D35

Accessibility & contrast

On white

8.75
#8E2312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E2312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2312
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2312#FFFFFF#000000##FFFFFF
##8E23121.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0E
Deuteranopia (green-blind)
#5E530B
Tritanopia (blue-blind)
#9D0020
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2312;
/* rgb */ color: rgb(142, 35, 18);
/* oklch */ color: oklch(42.9% 0.145 31.8);
Tailwind
colors: {
  custom: {
    50: '#b86652',
    500: '#8e2312',
    950: '#000000',
  },
}
SCSS
$custom: #8e2312;
$custom-light: #b86652;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2312",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 18
  },
  "hsl": {
    "h": 8.226,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4289,
    "c": 0.14533,
    "h": 31.8
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#8E2312
secondary
#3AAFC2
accent
#DAF434
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8E2312

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

Preview Lab → · Contrast checker → · Palette generator →

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