#8E1F1F#8E1F1F

#8E1F1F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.6% C 0.147 H 26.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8E1F1F
RGBrgb(142, 31, 31)
HSLhsl(0, 64%, 34%)
HSVhsv(0, 78%, 56%)
CMYKcmyk(0%, 78.2%, 78.2%, 44.3%)
CIE-LABlab(31.42, 45.69, 29.09)
CIE-LCHlch(31.42, 54.17, 32.48°)
OKLaboklab(42.64% 0.1319 0.0645)
OKLCHoklch(42.64% 0.147 26.1)
XYZxyz(11.8940, 6.8316, 1.9884)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F1F #1F8E8E
analogous
#8E1F57 #8E1F1F #8E571F
triadic
#8E1F1F #1F8E1F #1F1F8E
tetradic
#8E1F1F #578E1F #1F8E8E #571F8E
square
#8E1F1F #578E1F #1F8E8E #571F8E
split-complementary
#8E1F1F #1F8E57 #1F578E
monochromatic
#2A0909 #5C1414 #8E1F1F #C02A2A #D94F4F

Accessibility & contrast

On white

8.88
#8E1F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E1F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F1F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F1F#FFFFFF#000000##FFFFFF
##8E1F1F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B1E
Deuteranopia (green-blind)
#5C531B
Tritanopia (blue-blind)
#9D0021
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f1f;
/* rgb */ color: rgb(142, 31, 31);
/* oklch */ color: oklch(42.6% 0.147 26.1);
Tailwind
colors: {
  custom: {
    50: '#b7655b',
    500: '#8e1f1f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f1f;
$custom-light: #b7655b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f1f",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 31
  },
  "hsl": {
    "h": 0,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42644,
    "c": 0.14683,
    "h": 26.1
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#8E1F1F
secondary
#4DBBBB
accent
#E7E741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E1F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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