#8E271A#8E271A

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

Color values

HEX#8E271A
RGBrgb(142, 39, 26)
HSLhsl(7, 69%, 33%)
HSVhsv(7, 82%, 56%)
CMYKcmyk(0%, 72.5%, 81.7%, 44.3%)
CIE-LABlab(32.43, 42.55, 33.07)
CIE-LCHlch(32.43, 53.89, 37.85°)
OKLaboklab(43.38% 0.121 0.0716)
OKLCHoklch(43.38% 0.141 30.6)
XYZxyz(12.0687, 7.2783, 1.7464)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E271A #1A818E
analogous
#8E1A47 #8E271A #8E611A
triadic
#8E271A #1A8E27 #271A8E
tetradic
#8E271A #478E1A #1A818E #611A8E
square
#8E271A #478E1A #1A818E #611A8E
split-complementary
#8E271A #1A8E61 #1A478E
monochromatic
#270B07 #5A1911 #8E271A #C23523 #DD5645

Accessibility & contrast

On white

8.55
#8E271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E271A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E271A#FFFFFF#000000##FFFFFF
##8E271A1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E17
Deuteranopia (green-blind)
#5F5515
Tritanopia (blue-blind)
#9D0025
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e271a;
/* rgb */ color: rgb(142, 39, 26);
/* oklch */ color: oklch(43.4% 0.141 30.6);
Tailwind
colors: {
  custom: {
    50: '#b76858',
    500: '#8e271a',
    950: '#000000',
  },
}
SCSS
$custom: #8e271a;
$custom-light: #b76858;
$custom-dark: #000000;
JSON
{
  "hex": "#8e271a",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 6.724,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43382,
    "c": 0.14056,
    "h": 30.6
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#8E271A
secondary
#45B1BE
accent
#D8EC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8E271A

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

Preview Lab → · Contrast checker → · Palette generator →

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