#8E1C1F#8E1C1F

#8E1C1F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.149 H 25.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8E1C1F
RGBrgb(142, 28, 31)
HSLhsl(358, 67%, 33%)
HSVhsv(358, 80%, 56%)
CMYKcmyk(0%, 80.3%, 78.2%, 44.3%)
CIE-LABlab(31.07, 46.67, 28.71)
CIE-LCHlch(31.07, 54.80, 31.60°)
OKLaboklab(42.39% 0.135 0.0637)
OKLCHoklch(42.39% 0.149 25.3)
XYZxyz(11.8193, 6.6821, 1.9635)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C1F #1C8E8B
analogous
#8E1C58 #8E1C1F #8E521C
triadic
#8E1C1F #1F8E1C #1C1F8E
tetradic
#8E1C1F #588E1C #1C8E8B #521C8E
square
#8E1C1F #588E1C #1C8E8B #521C8E
split-complementary
#8E1C1F #1C8E52 #1C588E
monochromatic
#280809 #5B1214 #8E1C1F #C1262A #DB494D

Accessibility & contrast

On white

8.99
#8E1C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E1C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C1F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C1F#FFFFFF#000000##FFFFFF
##8E1C1F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40391E
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#9D001F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1c1f;
/* rgb */ color: rgb(142, 28, 31);
/* oklch */ color: oklch(42.4% 0.149 25.3);
Tailwind
colors: {
  custom: {
    50: '#b7645b',
    500: '#8e1c1f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c1f;
$custom-light: #b7645b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c1f",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 31
  },
  "hsl": {
    "h": 358.421,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.14924,
    "h": 25.3
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#8E1C1F
secondary
#49BDBA
accent
#EAE53E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E1C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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