#8E271D#8E271D

#8E271D is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.4% C 0.140 H 29.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8E271D
RGBrgb(142, 39, 29)
HSLhsl(5, 66%, 34%)
HSVhsv(5, 80%, 56%)
CMYKcmyk(0%, 72.5%, 79.6%, 44.3%)
CIE-LABlab(32.46, 42.66, 31.39)
CIE-LCHlch(32.46, 52.96, 36.34°)
OKLaboklab(43.42% 0.1219 0.0689)
OKLCHoklch(43.42% 0.14 29.5)
XYZxyz(12.1040, 7.2924, 1.9324)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E271D #1D848E
analogous
#8E1D4B #8E271D #8E5F1D
triadic
#8E271D #1D8E27 #271D8E
tetradic
#8E271D #4B8E1D #1D848E #5F1D8E
square
#8E271D #4B8E1D #1D848E #5F1D8E
split-complementary
#8E271D #1D8E5F #1D4B8E
monochromatic
#280B08 #5B1913 #8E271D #C13527 #DA584B

Accessibility & contrast

On white

8.54
#8E271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8E271D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E271D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E271D#FFFFFF#000000##FFFFFF
##8E271D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1B
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#9D0026
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e271d;
/* rgb */ color: rgb(142, 39, 29);
/* oklch */ color: oklch(43.4% 0.140 29.5);
Tailwind
colors: {
  custom: {
    50: '#b7685a',
    500: '#8e271d',
    950: '#000000',
  },
}
SCSS
$custom: #8e271d;
$custom-light: #b7685a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e271d",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 5.31,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43415,
    "c": 0.14005,
    "h": 29.5
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#8E271D
secondary
#4AB2BD
accent
#DAE93F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79

Preview Lab

Preview with #8E271D

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

Preview Lab → · Contrast checker → · Palette generator →

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