#8E1C12#8E1C12

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

Color values

HEX#8E1C12
RGBrgb(142, 28, 18)
HSLhsl(5, 78%, 31%)
HSVhsv(5, 87%, 56%)
CMYKcmyk(0%, 80.3%, 87.3%, 44.3%)
CIE-LABlab(30.94, 46.26, 35.98)
CIE-LCHlch(30.94, 58.60, 37.88°)
OKLaboklab(42.25% 0.131 0.0749)
OKLCHoklch(42.25% 0.151 29.8)
XYZxyz(11.6812, 6.6269, 1.2362)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C12 #12848E
analogous
#8E1246 #8E1C12 #8E5A12
triadic
#8E1C12 #128E1C #1C128E
tetradic
#8E1C12 #468E12 #12848E #5A128E
square
#8E1C12 #468E12 #12848E #5A128E
split-complementary
#8E1C12 #128E5A #12468E
monochromatic
#210704 #58110B #8E1C12 #C42719 #E54335

Accessibility & contrast

On white

9.03
#8E1C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1C12
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C12#FFFFFF#000000##FFFFFF
##8E1C121.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1c12;
/* rgb */ color: rgb(142, 28, 18);
/* oklch */ color: oklch(42.2% 0.151 29.8);
Tailwind
colors: {
  custom: {
    50: '#b86352',
    500: '#8e1c12',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c12;
$custom-light: #b86352;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c12",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 18
  },
  "hsl": {
    "h": 4.839,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42247,
    "c": 0.15088,
    "h": 29.8
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#8E1C12
secondary
#3AB7C2
accent
#E5F434
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8E1C12

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

Preview Lab → · Contrast checker → · Palette generator →

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