#8E1729#8E1729

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

Color values

HEX#8E1729
RGBrgb(142, 23, 41)
HSLhsl(351, 72%, 32%)
HSVhsv(351, 84%, 56%)
CMYKcmyk(0%, 83.8%, 71.1%, 44.3%)
CIE-LABlab(30.70, 48.58, 21.97)
CIE-LCHlch(30.70, 53.31, 24.33°)
OKLaboklab(42.16% 0.1434 0.0511)
OKLCHoklch(42.16% 0.152 19.6)
XYZxyz(11.8633, 6.5255, 2.7323)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1729 #178E7C
analogous
#8E1765 #8E1729 #8E4017
triadic
#8E1729 #298E17 #17298E
tetradic
#8E1729 #658E17 #178E7C #40178E
square
#8E1729 #658E17 #178E7C #40178E
split-complementary
#8E1729 #178E40 #17658E
monochromatic
#25060B #590E1A #8E1729 #C32038 #E03F58

Accessibility & contrast

On white

9.11
#8E1729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1729
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1729#FFFFFF#000000##FFFFFF
##8E17291.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1729;
/* rgb */ color: rgb(142, 23, 41);
/* oklch */ color: oklch(42.2% 0.152 19.6);
Tailwind
colors: {
  custom: {
    50: '#b76262',
    500: '#8e1729',
    950: '#000000',
  },
}
SCSS
$custom: #8e1729;
$custom-light: #b76262;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1729",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 41
  },
  "hsl": {
    "h": 350.924,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42157,
    "c": 0.15224,
    "h": 19.6
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#8E1729
secondary
#40C0AD
accent
#EFD339
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1729

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

Preview Lab → · Contrast checker → · Palette generator →

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