#8E271C#8E271C

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

Color values

HEX#8E271C
RGBrgb(142, 39, 28)
HSLhsl(6, 67%, 33%)
HSVhsv(6, 80%, 56%)
CMYKcmyk(0%, 72.5%, 80.3%, 44.3%)
CIE-LABlab(32.45, 42.62, 31.95)
CIE-LCHlch(32.45, 53.27, 36.86°)
OKLaboklab(43.4% 0.1216 0.0698)
OKLCHoklch(43.4% 0.14 29.9)
XYZxyz(12.0919, 7.2875, 1.8683)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E271C #1C838E
analogous
#8E1C4A #8E271C #8E601C
triadic
#8E271C #1C8E27 #271C8E
tetradic
#8E271C #4A8E1C #1C838E #601C8E
square
#8E271C #4A8E1C #1C838E #601C8E
split-complementary
#8E271C #1C8E60 #1C4A8E
monochromatic
#280B08 #5B1912 #8E271C #C13526 #DB5749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E271C#FFFFFF#000000##FFFFFF
##8E271C1.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)
#453E1A
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#9D0025
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e271c;
/* rgb */ color: rgb(142, 39, 28);
/* oklch */ color: oklch(43.4% 0.140 29.9);
Tailwind
colors: {
  custom: {
    50: '#b76859',
    500: '#8e271c',
    950: '#000000',
  },
}
SCSS
$custom: #8e271c;
$custom-light: #b76859;
$custom-dark: #000000;
JSON
{
  "hex": "#8e271c",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 5.789,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.14022,
    "h": 29.9
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#8E271C
secondary
#49B2BD
accent
#D9EA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8E271C

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

Preview Lab → · Contrast checker → · Palette generator →

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