#8E1F12#8E1F12

#8E1F12 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.5% C 0.149 H 30.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8E1F12
RGBrgb(142, 31, 18)
HSLhsl(6, 78%, 31%)
HSVhsv(6, 87%, 56%)
CMYKcmyk(0%, 78.2%, 87.3%, 44.3%)
CIE-LABlab(31.29, 45.28, 36.29)
CIE-LCHlch(31.29, 58.02, 38.71°)
OKLaboklab(42.51% 0.1279 0.0756)
OKLCHoklch(42.51% 0.149 30.6)
XYZxyz(11.7560, 6.7763, 1.2611)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F12 #12818E
analogous
#8E1243 #8E1F12 #8E5D12
triadic
#8E1F12 #128E1F #1F128E
tetradic
#8E1F12 #438E12 #12818E #5D128E
square
#8E1F12 #438E12 #12818E #5D128E
split-complementary
#8E1F12 #128E5D #12438E
monochromatic
#210704 #58130B #8E1F12 #C42B19 #E54735

Accessibility & contrast

On white

8.92
#8E1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8E1F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F12
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F12#FFFFFF#000000##FFFFFF
##8E1F121.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0F
Deuteranopia (green-blind)
#5D520B
Tritanopia (blue-blind)
#9D001D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f12;
/* rgb */ color: rgb(142, 31, 18);
/* oklch */ color: oklch(42.5% 0.149 30.6);
Tailwind
colors: {
  custom: {
    50: '#b86552',
    500: '#8e1f12',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f12;
$custom-light: #b86552;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f12",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 6.29,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.14858,
    "h": 30.6
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#8E1F12
secondary
#3AB4C2
accent
#E0F434
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8E1F12

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

Preview Lab → · Contrast checker → · Palette generator →

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