#8E1A28#8E1A28

#8E1A28 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.150 H 20.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8E1A28
RGBrgb(142, 26, 40)
HSLhsl(353, 69%, 33%)
HSVhsv(353, 82%, 56%)
CMYKcmyk(0%, 81.7%, 71.8%, 44.3%)
CIE-LABlab(30.98, 47.68, 22.96)
CIE-LCHlch(30.98, 52.92, 25.71°)
OKLaboklab(42.36% 0.1403 0.0531)
OKLCHoklch(42.36% 0.15 20.7)
XYZxyz(11.9091, 6.6446, 2.6626)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A28 #1A8E80
analogous
#8E1A62 #8E1A28 #8E461A
triadic
#8E1A28 #288E1A #1A288E
tetradic
#8E1A28 #628E1A #1A8E80 #461A8E
square
#8E1A28 #628E1A #1A8E80 #461A8E
split-complementary
#8E1A28 #1A8E46 #1A628E
monochromatic
#27070B #5A1119 #8E1A28 #C22337 #DD4558

Accessibility & contrast

On white

9.02
#8E1A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E1A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A28
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A28#FFFFFF#000000##FFFFFF
##8E1A281.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3928
Deuteranopia (green-blind)
#5A5224
Tritanopia (blue-blind)
#9D0021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1a28;
/* rgb */ color: rgb(142, 26, 40);
/* oklch */ color: oklch(42.4% 0.150 20.7);
Tailwind
colors: {
  custom: {
    50: '#b76361',
    500: '#8e1a28',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a28;
$custom-light: #b76361;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a28",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 352.759,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.15002,
    "h": 20.7
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#8E1A28
secondary
#45BEB0
accent
#ECD73C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1A28

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

Preview Lab → · Contrast checker → · Palette generator →

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