#8E1428#8E1428

#8E1428 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.9% C 0.154 H 19.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#8E1428
RGBrgb(142, 20, 40)
HSLhsl(350, 75%, 32%)
HSVhsv(350, 86%, 56%)
CMYKcmyk(0%, 85.9%, 71.8%, 44.3%)
CIE-LABlab(30.41, 49.30, 22.27)
CIE-LCHlch(30.41, 54.09, 24.31°)
OKLaboklab(41.94% 0.1455 0.0516)
OKLCHoklch(41.94% 0.154 19.5)
XYZxyz(11.7899, 6.4062, 2.6228)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1428 #148E7A
analogous
#8E1465 #8E1428 #8E3D14
triadic
#8E1428 #288E14 #14288E
tetradic
#8E1428 #658E14 #148E7A #3D148E
square
#8E1428 #658E14 #148E7A #3D148E
split-complementary
#8E1428 #148E3D #14658E
monochromatic
#23050A #580C19 #8E1428 #C41C37 #E33955

Accessibility & contrast

On white

9.21
#8E1428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8E1428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1428
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1428#FFFFFF#000000##FFFFFF
##8E14281.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3728
Deuteranopia (green-blind)
#595124
Tritanopia (blue-blind)
#9D001D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1428;
/* rgb */ color: rgb(142, 20, 40);
/* oklch */ color: oklch(41.9% 0.154 19.5);
Tailwind
colors: {
  custom: {
    50: '#b76161',
    500: '#8e1428',
    950: '#000000',
  },
}
SCSS
$custom: #8e1428;
$custom-light: #b76161;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1428",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 40
  },
  "hsl": {
    "h": 350.164,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.15435,
    "h": 19.5
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#8E1428
secondary
#3CC2AC
accent
#F2D336
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1428

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

Preview Lab → · Contrast checker → · Palette generator →

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