#8E1720#8E1720

#8E1720 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.153 H 23.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#8E1720
RGBrgb(142, 23, 32)
HSLhsl(355, 72%, 32%)
HSVhsv(355, 84%, 56%)
CMYKcmyk(0%, 83.8%, 77.5%, 44.3%)
CIE-LABlab(30.57, 48.17, 27.54)
CIE-LCHlch(30.57, 55.49, 29.76°)
OKLaboklab(42.02% 0.14 0.0614)
OKLCHoklch(42.02% 0.153 23.7)
XYZxyz(11.7239, 6.4698, 1.9977)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1720 #178E85
analogous
#8E175C #8E1720 #8E4917
triadic
#8E1720 #208E17 #17208E
tetradic
#8E1720 #5C8E17 #178E85 #49178E
square
#8E1720 #5C8E17 #178E85 #49178E
split-complementary
#8E1720 #178E49 #175C8E
monochromatic
#250608 #590E14 #8E1720 #C3202C #E03F4C

Accessibility & contrast

On white

9.16
#8E1720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E1720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1720
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1720#FFFFFF#000000##FFFFFF
##8E17201.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D381F
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#9D001C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1720;
/* rgb */ color: rgb(142, 23, 32);
/* oklch */ color: oklch(42.0% 0.153 23.7);
Tailwind
colors: {
  custom: {
    50: '#b8625b',
    500: '#8e1720',
    950: '#000000',
  },
}
SCSS
$custom: #8e1720;
$custom-light: #b8625b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1720",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 32
  },
  "hsl": {
    "h": 355.462,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.15284,
    "h": 23.7
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#8E1720
secondary
#40C0B7
accent
#EFE139
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E1720

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

Preview Lab → · Contrast checker → · Palette generator →

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