#8E1E17#8E1E17

#8E1E17 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.5% C 0.149 H 28.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8E1E17
RGBrgb(142, 30, 23)
HSLhsl(4, 72%, 32%)
HSVhsv(4, 84%, 56%)
CMYKcmyk(0%, 78.9%, 83.8%, 44.3%)
CIE-LABlab(31.21, 45.75, 33.55)
CIE-LCHlch(31.21, 56.73, 36.25°)
OKLaboklab(42.46% 0.1304 0.0716)
OKLCHoklch(42.46% 0.149 28.8)
XYZxyz(11.7757, 6.7431, 1.4920)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E17 #17878E
analogous
#8E174C #8E1E17 #8E5917
triadic
#8E1E17 #178E1E #1E178E
tetradic
#8E1E17 #4C8E17 #17878E #59178E
square
#8E1E17 #4C8E17 #17878E #59178E
split-complementary
#8E1E17 #178E59 #174C8E
monochromatic
#250806 #59130E #8E1E17 #C32920 #E0493F

Accessibility & contrast

On white

8.94
#8E1E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8E1E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E17
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E17#FFFFFF#000000##FFFFFF
##8E1E171.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A15
Deuteranopia (green-blind)
#5D5211
Tritanopia (blue-blind)
#9D001E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1e17;
/* rgb */ color: rgb(142, 30, 23);
/* oklch */ color: oklch(42.5% 0.149 28.8);
Tailwind
colors: {
  custom: {
    50: '#b86455',
    500: '#8e1e17',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e17;
$custom-light: #b86455;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e17",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 3.529,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42464,
    "c": 0.1487,
    "h": 28.8
  },
  "luminance": 0.06741
}

Semantic roles & 50–950 ramp

primary
#8E1E17
secondary
#40B9C0
accent
#E4EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E1E17

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

Preview Lab → · Contrast checker → · Palette generator →

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