#8E2817#8E2817

#8E2817 is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.5% C 0.140 H 32.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8E2817
RGBrgb(142, 40, 23)
HSLhsl(9, 72%, 32%)
HSVhsv(9, 84%, 56%)
CMYKcmyk(0%, 71.8%, 83.8%, 44.3%)
CIE-LABlab(32.55, 42.05, 34.82)
CIE-LCHlch(32.55, 54.60, 39.63°)
OKLaboklab(43.46% 0.1188 0.0744)
OKLCHoklch(43.46% 0.14 32.1)
XYZxyz(12.0702, 7.3321, 1.5901)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2817 #177D8E
analogous
#8E1742 #8E2817 #8E6317
triadic
#8E2817 #178E28 #28178E
tetradic
#8E2817 #428E17 #177D8E #63178E
square
#8E2817 #428E17 #177D8E #63178E
split-complementary
#8E2817 #178E63 #17428E
monochromatic
#250A06 #59190E #8E2817 #C33720 #E0563F

Accessibility & contrast

On white

8.52
#8E2817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E2817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2817
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2817#FFFFFF#000000##FFFFFF
##8E28171.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2817;
/* rgb */ color: rgb(142, 40, 23);
/* oklch */ color: oklch(43.5% 0.140 32.1);
Tailwind
colors: {
  custom: {
    50: '#b76956',
    500: '#8e2817',
    950: '#000000',
  },
}
SCSS
$custom: #8e2817;
$custom-light: #b76956;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2817",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 8.571,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43462,
    "c": 0.14017,
    "h": 32.1
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#8E2817
secondary
#40AEC0
accent
#D5EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8E2817

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

Preview Lab → · Contrast checker → · Palette generator →

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