#8E2017#8E2017

#8E2017 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.6% C 0.147 H 29.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8E2017
RGBrgb(142, 32, 23)
HSLhsl(5, 72%, 32%)
HSVhsv(5, 84%, 56%)
CMYKcmyk(0%, 77.5%, 83.8%, 44.3%)
CIE-LABlab(31.46, 45.07, 33.78)
CIE-LCHlch(31.46, 56.32, 36.85°)
OKLaboklab(42.65% 0.1282 0.0721)
OKLCHoklch(42.65% 0.147 29.3)
XYZxyz(11.8279, 6.8476, 1.5094)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2017 #17858E
analogous
#8E1749 #8E2017 #8E5C17
triadic
#8E2017 #178E20 #20178E
tetradic
#8E2017 #498E17 #17858E #5C178E
square
#8E2017 #498E17 #17858E #5C178E
split-complementary
#8E2017 #178E5C #17498E
monochromatic
#250806 #59140E #8E2017 #C32C20 #E04C3F

Accessibility & contrast

On white

8.86
#8E2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2017
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2017#FFFFFF#000000##FFFFFF
##8E20171.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B15
Deuteranopia (green-blind)
#5D5311
Tritanopia (blue-blind)
#9D001F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e2017;
/* rgb */ color: rgb(142, 32, 23);
/* oklch */ color: oklch(42.6% 0.147 29.3);
Tailwind
colors: {
  custom: {
    50: '#b86555',
    500: '#8e2017',
    950: '#000000',
  },
}
SCSS
$custom: #8e2017;
$custom-light: #b86555;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2017",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 4.538,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42645,
    "c": 0.1471,
    "h": 29.3
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#8E2017
secondary
#40B7C0
accent
#E1EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E2017

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

Preview Lab → · Contrast checker → · Palette generator →

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