#8E272A#8E272A

#8E272A is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.6% C 0.138 H 23.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8E272A
RGBrgb(142, 39, 42)
HSLhsl(358, 57%, 35%)
HSVhsv(358, 73%, 56%)
CMYKcmyk(0%, 72.5%, 70.4%, 44.3%)
CIE-LABlab(32.64, 43.27, 23.68)
CIE-LCHlch(32.64, 49.32, 28.70°)
OKLaboklab(43.6% 0.1267 0.0551)
OKLCHoklch(43.6% 0.138 23.5)
XYZxyz(12.3001, 7.3708, 2.9651)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E272A #278E8B
analogous
#8E275E #8E272A #8E5727
triadic
#8E272A #2A8E27 #272A8E
tetradic
#8E272A #5E8E27 #278E8B #57278E
square
#8E272A #5E8E27 #278E8B #57278E
split-complementary
#8E272A #278E57 #275E8E
monochromatic
#2E0D0E #5E1A1C #8E272A #BE3438 #D25D60

Accessibility & contrast

On white

8.49
#8E272A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E272A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E272A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E272A#FFFFFF#000000##FFFFFF
##8E272A1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F29
Deuteranopia (green-blind)
#5E5527
Tritanopia (blue-blind)
#9C0429
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e272a;
/* rgb */ color: rgb(142, 39, 42);
/* oklch */ color: oklch(43.6% 0.138 23.5);
Tailwind
colors: {
  custom: {
    50: '#b66963',
    500: '#8e272a',
    950: '#000000',
  },
}
SCSS
$custom: #8e272a;
$custom-light: #b66963;
$custom-dark: #000000;
JSON
{
  "hex": "#8e272a",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 42
  },
  "hsl": {
    "h": 358.252,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.436,
    "c": 0.13814,
    "h": 23.5
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#8E272A
secondary
#59B8B5
accent
#E0DC48
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130705
muted
#827A79

Preview Lab

Preview with #8E272A

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

Preview Lab → · Contrast checker → · Palette generator →

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