#8C271C#8C271C

#8C271C is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.0% C 0.138 H 29.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8C271C
RGBrgb(140, 39, 28)
HSLhsl(6, 67%, 33%)
HSVhsv(6, 80%, 55%)
CMYKcmyk(0%, 72.1%, 80%, 45.1%)
CIE-LABlab(32.06, 41.93, 31.42)
CIE-LCHlch(32.06, 52.40, 36.85°)
OKLaboklab(43.04% 0.1197 0.0688)
OKLCHoklch(43.04% 0.138 29.9)
XYZxyz(11.7517, 7.1121, 1.8524)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C271C #1C818C
analogous
#8C1C49 #8C271C #8C5F1C
triadic
#8C271C #1C8C27 #271C8C
tetradic
#8C271C #498C1C #1C818C #5F1C8C
square
#8C271C #498C1C #1C818C #5F1C8C
split-complementary
#8C271C #1C8C5F #1C498C
monochromatic
#260B08 #591912 #8C271C #BF3526 #DA5648

Accessibility & contrast

On white

8.67
#8C271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8C271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C271C
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C271C#FFFFFF#000000##FFFFFF
##8C271C1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D1A
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#9B0025
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8c271c;
/* rgb */ color: rgb(140, 39, 28);
/* oklch */ color: oklch(43.0% 0.138 29.9);
Tailwind
colors: {
  custom: {
    50: '#b66859',
    500: '#8c271c',
    950: '#000000',
  },
}
SCSS
$custom: #8c271c;
$custom-light: #b66859;
$custom-dark: #000000;
JSON
{
  "hex": "#8c271c",
  "rgb": {
    "r": 140,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 5.893,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43039,
    "c": 0.13805,
    "h": 29.9
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#8C271C
secondary
#48B1BC
accent
#D9EA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8C271C

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

Preview Lab → · Contrast checker → · Palette generator →

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