#8E1728#8E1728

#8E1728 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.152 H 20.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#8E1728
RGBrgb(142, 23, 40)
HSLhsl(351, 72%, 32%)
HSVhsv(351, 84%, 56%)
CMYKcmyk(0%, 83.8%, 71.8%, 44.3%)
CIE-LABlab(30.69, 48.53, 22.59)
CIE-LCHlch(30.69, 53.53, 24.97°)
OKLaboklab(42.14% 0.143 0.0523)
OKLCHoklch(42.14% 0.152 20.1)
XYZxyz(11.8461, 6.5187, 2.6416)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1728 #178E7D
analogous
#8E1763 #8E1728 #8E4217
triadic
#8E1728 #288E17 #17288E
tetradic
#8E1728 #638E17 #178E7D #42178E
square
#8E1728 #638E17 #178E7D #42178E
split-complementary
#8E1728 #178E42 #17638E
monochromatic
#25060A #590E19 #8E1728 #C32037 #E03F56

Accessibility & contrast

On white

9.12
#8E1728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8E1728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1728
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1728#FFFFFF#000000##FFFFFF
##8E17281.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3828
Deuteranopia (green-blind)
#5A5124
Tritanopia (blue-blind)
#9D001F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1728;
/* rgb */ color: rgb(142, 23, 40);
/* oklch */ color: oklch(42.1% 0.152 20.1);
Tailwind
colors: {
  custom: {
    50: '#b76261',
    500: '#8e1728',
    950: '#000000',
  },
}
SCSS
$custom: #8e1728;
$custom-light: #b76261;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1728",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 351.429,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.15228,
    "h": 20.1
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#8E1728
secondary
#40C0AE
accent
#EFD539
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1728

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

Preview Lab → · Contrast checker → · Palette generator →

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