#8E2317#8E2317

#8E2317 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.9% C 0.145 H 30.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8E2317
RGBrgb(142, 35, 23)
HSLhsl(6, 72%, 32%)
HSVhsv(6, 84%, 56%)
CMYKcmyk(0%, 75.4%, 83.8%, 44.3%)
CIE-LABlab(31.84, 43.99, 34.15)
CIE-LCHlch(31.84, 55.69, 37.82°)
OKLaboklab(42.93% 0.1249 0.0729)
OKLCHoklch(42.93% 0.145 30.3)
XYZxyz(11.9124, 7.0166, 1.5375)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2317 #17828E
analogous
#8E1747 #8E2317 #8E5E17
triadic
#8E2317 #178E23 #23178E
tetradic
#8E2317 #478E17 #17828E #5E178E
square
#8E2317 #478E17 #17828E #5E178E
split-complementary
#8E2317 #178E5E #17478E
monochromatic
#250906 #59160E #8E2317 #C33020 #E0503F

Accessibility & contrast

On white

8.74
#8E2317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E2317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2317
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2317#FFFFFF#000000##FFFFFF
##8E23171.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2317;
/* rgb */ color: rgb(142, 35, 23);
/* oklch */ color: oklch(42.9% 0.145 30.3);
Tailwind
colors: {
  custom: {
    50: '#b86655',
    500: '#8e2317',
    950: '#000000',
  },
}
SCSS
$custom: #8e2317;
$custom-light: #b86655;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2317",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 23
  },
  "hsl": {
    "h": 6.05,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42934,
    "c": 0.14458,
    "h": 30.3
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#8E2317
secondary
#40B3C0
accent
#DCEF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E2317

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

Preview Lab → · Contrast checker → · Palette generator →

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