#8E1F17#8E1F17

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

Color values

HEX#8E1F17
RGBrgb(142, 31, 23)
HSLhsl(4, 72%, 32%)
HSVhsv(4, 84%, 56%)
CMYKcmyk(0%, 78.2%, 83.8%, 44.3%)
CIE-LABlab(31.33, 45.41, 33.66)
CIE-LCHlch(31.33, 56.53, 36.55°)
OKLaboklab(42.55% 0.1293 0.0718)
OKLCHoklch(42.55% 0.148 29)
XYZxyz(11.8014, 6.7945, 1.5005)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F17 #17868E
analogous
#8E174A #8E1F17 #8E5B17
triadic
#8E1F17 #178E1F #1F178E
tetradic
#8E1F17 #4A8E17 #17868E #5B178E
square
#8E1F17 #4A8E17 #17868E #5B178E
split-complementary
#8E1F17 #178E5B #174A8E
monochromatic
#250806 #59140E #8E1F17 #C32A20 #E04A3F

Accessibility & contrast

On white

8.90
#8E1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8E1F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F17
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F17#FFFFFF#000000##FFFFFF
##8E1F171.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1f17;
/* rgb */ color: rgb(142, 31, 23);
/* oklch */ color: oklch(42.6% 0.148 29.0);
Tailwind
colors: {
  custom: {
    50: '#b86555',
    500: '#8e1f17',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f17;
$custom-light: #b86555;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f17",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 4.034,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42553,
    "c": 0.1479,
    "h": 29
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#8E1F17
secondary
#40B8C0
accent
#E3EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E1F17

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

Preview Lab → · Contrast checker → · Palette generator →

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