#8E1727#8E1727

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

Color values

HEX#8E1727
RGBrgb(142, 23, 39)
HSLhsl(352, 72%, 32%)
HSVhsv(352, 84%, 56%)
CMYKcmyk(0%, 83.8%, 72.5%, 44.3%)
CIE-LABlab(30.67, 48.48, 23.22)
CIE-LCHlch(30.67, 53.75, 25.59°)
OKLaboklab(42.12% 0.1426 0.0535)
OKLCHoklch(42.12% 0.152 20.6)
XYZxyz(11.8293, 6.5119, 2.5531)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1727 #178E7E
analogous
#8E1762 #8E1727 #8E4317
triadic
#8E1727 #278E17 #17278E
tetradic
#8E1727 #628E17 #178E7E #43178E
square
#8E1727 #628E17 #178E7E #43178E
split-complementary
#8E1727 #178E43 #17628E
monochromatic
#25060A #590E19 #8E1727 #C32035 #E03F55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1727#FFFFFF#000000##FFFFFF
##8E17271.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)
#3D3827
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#9D001F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1727;
/* rgb */ color: rgb(142, 23, 39);
/* oklch */ color: oklch(42.1% 0.152 20.6);
Tailwind
colors: {
  custom: {
    50: '#b76261',
    500: '#8e1727',
    950: '#000000',
  },
}
SCSS
$custom: #8e1727;
$custom-light: #b76261;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1727",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 39
  },
  "hsl": {
    "h": 351.933,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42123,
    "c": 0.15233,
    "h": 20.6
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#8E1727
secondary
#40C0AF
accent
#EFD639
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1727

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

Preview Lab → · Contrast checker → · Palette generator →

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