#8E1C23#8E1C23

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

Color values

HEX#8E1C23
RGBrgb(142, 28, 35)
HSLhsl(356, 67%, 33%)
HSVhsv(356, 80%, 56%)
CMYKcmyk(0%, 80.3%, 75.4%, 44.3%)
CIE-LABlab(31.12, 46.84, 26.30)
CIE-LCHlch(31.12, 53.72, 29.31°)
OKLaboklab(42.44% 0.1364 0.0594)
OKLCHoklch(42.44% 0.149 23.5)
XYZxyz(11.8753, 6.7045, 2.2586)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C23 #1C8E87
analogous
#8E1C5C #8E1C23 #8E4E1C
triadic
#8E1C23 #238E1C #1C238E
tetradic
#8E1C23 #5C8E1C #1C8E87 #4E1C8E
square
#8E1C23 #5C8E1C #1C8E87 #4E1C8E
split-complementary
#8E1C23 #1C8E4E #1C5C8E
monochromatic
#28080A #5B1216 #8E1C23 #C12630 #DB4952

Accessibility & contrast

On white

8.97
#8E1C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1C23
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C23#FFFFFF#000000##FFFFFF
##8E1C231.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A22
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#9D0020
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1c23;
/* rgb */ color: rgb(142, 28, 35);
/* oklch */ color: oklch(42.4% 0.149 23.5);
Tailwind
colors: {
  custom: {
    50: '#b7645e',
    500: '#8e1c23',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c23;
$custom-light: #b7645e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c23",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 35
  },
  "hsl": {
    "h": 356.316,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42441,
    "c": 0.14882,
    "h": 23.5
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#8E1C23
secondary
#49BDB6
accent
#EADF3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E1C23

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

Preview Lab → · Contrast checker → · Palette generator →

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