#8E2417#8E2417

#8E2417 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.0% C 0.144 H 30.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8E2417
RGBrgb(142, 36, 23)
HSLhsl(7, 72%, 32%)
HSVhsv(7, 84%, 56%)
CMYKcmyk(0%, 74.6%, 83.8%, 44.3%)
CIE-LABlab(31.98, 43.62, 34.28)
CIE-LCHlch(31.98, 55.48, 38.16°)
OKLaboklab(43.04% 0.1237 0.0732)
OKLCHoklch(43.04% 0.144 30.6)
XYZxyz(11.9423, 7.0763, 1.5475)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2417 #17818E
analogous
#8E1745 #8E2417 #8E6017
triadic
#8E2417 #178E24 #24178E
tetradic
#8E2417 #458E17 #17818E #60178E
square
#8E2417 #458E17 #17818E #60178E
split-complementary
#8E2417 #178E60 #17458E
monochromatic
#250906 #59170E #8E2417 #C33120 #E0513F

Accessibility & contrast

On white

8.70
#8E2417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E2417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2417
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2417#FFFFFF#000000##FFFFFF
##8E24171.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#5E5412
Tritanopia (blue-blind)
#9D0022
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2417;
/* rgb */ color: rgb(142, 36, 23);
/* oklch */ color: oklch(43.0% 0.144 30.6);
Tailwind
colors: {
  custom: {
    50: '#b86755',
    500: '#8e2417',
    950: '#000000',
  },
}
SCSS
$custom: #8e2417;
$custom-light: #b86755;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2417",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 6.555,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43035,
    "c": 0.14372,
    "h": 30.6
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#8E2417
secondary
#40B2C0
accent
#DBEF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E2417

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

Preview Lab → · Contrast checker → · Palette generator →

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