#8E271E#8E271E

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

Color values

HEX#8E271E
RGBrgb(142, 39, 30)
HSLhsl(5, 65%, 34%)
HSVhsv(5, 79%, 56%)
CMYKcmyk(0%, 72.5%, 78.9%, 44.3%)
CIE-LABlab(32.47, 42.70, 30.82)
CIE-LCHlch(32.47, 52.66, 35.82°)
OKLaboklab(43.43% 0.1223 0.068)
OKLCHoklch(43.43% 0.14 29.1)
XYZxyz(12.1166, 7.2974, 1.9986)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E271E #1E858E
analogous
#8E1E4D #8E271E #8E5F1E
triadic
#8E271E #1E8E27 #271E8E
tetradic
#8E271E #4D8E1E #1E858E #5F1E8E
square
#8E271E #4D8E1E #1E858E #5F1E8E
split-complementary
#8E271E #1E8E5F #1E4D8E
monochromatic
#290B09 #5B1913 #8E271E #C13529 #D9584D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8e271e;
/* rgb */ color: rgb(142, 39, 30);
/* oklch */ color: oklch(43.4% 0.140 29.1);
Tailwind
colors: {
  custom: {
    50: '#b7685a',
    500: '#8e271e',
    950: '#000000',
  },
}
SCSS
$custom: #8e271e;
$custom-light: #b7685a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e271e",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 4.821,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43427,
    "c": 0.13988,
    "h": 29.1
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#8E271E
secondary
#4CB3BC
accent
#DBE840
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79

Preview Lab

Preview with #8E271E

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

Preview Lab → · Contrast checker → · Palette generator →

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