#8C271A#8C271A

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

Color values

HEX#8C271A
RGBrgb(140, 39, 26)
HSLhsl(7, 69%, 33%)
HSVhsv(7, 81%, 55%)
CMYKcmyk(0%, 72.1%, 81.4%, 45.1%)
CIE-LABlab(32.04, 41.86, 32.54)
CIE-LCHlch(32.04, 53.02, 37.86°)
OKLaboklab(43.02% 0.119 0.0706)
OKLCHoklch(43.02% 0.138 30.7)
XYZxyz(11.7286, 7.1029, 1.7305)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C271A #1A7F8C
analogous
#8C1A46 #8C271A #8C601A
triadic
#8C271A #1A8C27 #271A8C
tetradic
#8C271A #468C1A #1A7F8C #601A8C
square
#8C271A #468C1A #1A7F8C #601A8C
split-complementary
#8C271A #1A8C60 #1A468C
monochromatic
#250A07 #581910 #8C271A #C03524 #DC5544

Accessibility & contrast

On white

8.68
#8C271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C271A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C271A#FFFFFF#000000##FFFFFF
##8C271A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c271a;
/* rgb */ color: rgb(140, 39, 26);
/* oklch */ color: oklch(43.0% 0.138 30.7);
Tailwind
colors: {
  custom: {
    50: '#b66858',
    500: '#8c271a',
    950: '#000000',
  },
}
SCSS
$custom: #8c271a;
$custom-light: #b66858;
$custom-dark: #000000;
JSON
{
  "hex": "#8c271a",
  "rgb": {
    "r": 140,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 6.842,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43017,
    "c": 0.1384,
    "h": 30.7
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#8C271A
secondary
#44B0BE
accent
#D8EC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8C271A

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

Preview Lab → · Contrast checker → · Palette generator →

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