#8E271F#8E271F

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

Color values

HEX#8E271F
RGBrgb(142, 39, 31)
HSLhsl(4, 64%, 34%)
HSVhsv(4, 78%, 56%)
CMYKcmyk(0%, 72.5%, 78.2%, 44.3%)
CIE-LABlab(32.49, 42.74, 30.24)
CIE-LCHlch(32.49, 52.36, 35.28°)
OKLaboklab(43.44% 0.1226 0.067)
OKLCHoklch(43.44% 0.14 28.7)
XYZxyz(12.1296, 7.3026, 2.0669)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E271F #1F868E
analogous
#8E1F4F #8E271F #8E5F1F
triadic
#8E271F #1F8E27 #271F8E
tetradic
#8E271F #4F8E1F #1F868E #5F1F8E
square
#8E271F #4F8E1F #1F868E #5F1F8E
split-complementary
#8E271F #1F8E5F #1F4F8E
monochromatic
#2A0B09 #5C1914 #8E271F #C0352A #D9594F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E271F#FFFFFF#000000##FFFFFF
##8E271F1.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)
#453E1D
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#9D0026
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e271f;
/* rgb */ color: rgb(142, 39, 31);
/* oklch */ color: oklch(43.4% 0.140 28.7);
Tailwind
colors: {
  custom: {
    50: '#b7685b',
    500: '#8e271f',
    950: '#000000',
  },
}
SCSS
$custom: #8e271f;
$custom-light: #b7685b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e271f",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 4.324,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43439,
    "c": 0.13972,
    "h": 28.7
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#8E271F
secondary
#4DB4BB
accent
#DBE741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79

Preview Lab

Preview with #8E271F

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

Preview Lab → · Contrast checker → · Palette generator →

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