#8E2717#8E2717

#8E2717 is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.4% C 0.141 H 31.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8E2717
RGBrgb(142, 39, 23)
HSLhsl(8, 72%, 32%)
HSVhsv(8, 84%, 56%)
CMYKcmyk(0%, 72.5%, 83.8%, 44.3%)
CIE-LABlab(32.40, 42.45, 34.68)
CIE-LCHlch(32.40, 54.82, 39.25°)
OKLaboklab(43.35% 0.1201 0.0741)
OKLCHoklch(43.35% 0.141 31.7)
XYZxyz(12.0369, 7.2655, 1.5790)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2717 #177E8E
analogous
#8E1743 #8E2717 #8E6217
triadic
#8E2717 #178E27 #27178E
tetradic
#8E2717 #438E17 #177E8E #62178E
square
#8E2717 #438E17 #177E8E #62178E
split-complementary
#8E2717 #178E62 #17438E
monochromatic
#250A06 #59190E #8E2717 #C33520 #E0553F

Accessibility & contrast

On white

8.56
#8E2717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8E2717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2717
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2717#FFFFFF#000000##FFFFFF
##8E27171.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#5F5512
Tritanopia (blue-blind)
#9D0024
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2717;
/* rgb */ color: rgb(142, 39, 23);
/* oklch */ color: oklch(43.4% 0.141 31.7);
Tailwind
colors: {
  custom: {
    50: '#b76856',
    500: '#8e2717',
    950: '#000000',
  },
}
SCSS
$custom: #8e2717;
$custom-light: #b76856;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2717",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 8.067,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43352,
    "c": 0.14108,
    "h": 31.7
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#8E2717
secondary
#40AFC0
accent
#D6EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8E2717

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

Preview Lab → · Contrast checker → · Palette generator →

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