#8E2117#8E2117

#8E2117 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.146 H 29.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8E2117
RGBrgb(142, 33, 23)
HSLhsl(5, 72%, 32%)
HSVhsv(5, 84%, 56%)
CMYKcmyk(0%, 76.8%, 83.8%, 44.3%)
CIE-LABlab(31.58, 44.72, 33.90)
CIE-LCHlch(31.58, 56.12, 37.16°)
OKLaboklab(42.74% 0.1271 0.0723)
OKLCHoklch(42.74% 0.146 29.6)
XYZxyz(11.8553, 6.9022, 1.5185)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2117 #17848E
analogous
#8E1749 #8E2117 #8E5D17
triadic
#8E2117 #178E21 #21178E
tetradic
#8E2117 #498E17 #17848E #5D178E
square
#8E2117 #498E17 #17848E #5D178E
split-complementary
#8E2117 #178E5D #17498E
monochromatic
#250906 #59150E #8E2117 #C32D20 #E04D3F

Accessibility & contrast

On white

8.82
#8E2117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8E2117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2117
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2117#FFFFFF#000000##FFFFFF
##8E21171.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B14
Deuteranopia (green-blind)
#5D5311
Tritanopia (blue-blind)
#9D0020
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e2117;
/* rgb */ color: rgb(142, 33, 23);
/* oklch */ color: oklch(42.7% 0.146 29.6);
Tailwind
colors: {
  custom: {
    50: '#b86655',
    500: '#8e2117',
    950: '#000000',
  },
}
SCSS
$custom: #8e2117;
$custom-light: #b86655;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2117",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 5.042,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.14627,
    "h": 29.6
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#8E2117
secondary
#40B6C0
accent
#E0EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E2117

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

Preview Lab → · Contrast checker → · Palette generator →

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