#8C271D#8C271D

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

Color values

HEX#8C271D
RGBrgb(140, 39, 29)
HSLhsl(5, 66%, 33%)
HSVhsv(5, 79%, 55%)
CMYKcmyk(0%, 72.1%, 79.3%, 45.1%)
CIE-LABlab(32.07, 41.97, 30.86)
CIE-LCHlch(32.07, 52.09, 36.32°)
OKLaboklab(43.05% 0.12 0.0679)
OKLCHoklch(43.05% 0.138 29.5)
XYZxyz(11.7639, 7.1170, 1.9164)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C271D #1D828C
analogous
#8C1D4B #8C271D #8C5E1D
triadic
#8C271D #1D8C27 #271D8C
tetradic
#8C271D #4B8C1D #1D828C #5E1D8C
square
#8C271D #4B8C1D #1D828C #5E1D8C
split-complementary
#8C271D #1D8C5E #1D4B8C
monochromatic
#270B08 #591912 #8C271D #BF3528 #D9574A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C271D#FFFFFF#000000##FFFFFF
##8C271D1.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)
#453D1B
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#9B0026
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8c271d;
/* rgb */ color: rgb(140, 39, 29);
/* oklch */ color: oklch(43.0% 0.138 29.5);
Tailwind
colors: {
  custom: {
    50: '#b5685a',
    500: '#8c271d',
    950: '#000000',
  },
}
SCSS
$custom: #8c271d;
$custom-light: #b5685a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c271d",
  "rgb": {
    "r": 140,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 5.405,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.13788,
    "h": 29.5
  },
  "luminance": 0.07115
}

Semantic roles & 50–950 ramp

primary
#8C271D
secondary
#49B1BC
accent
#D9E93F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8C271D

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

Preview Lab → · Contrast checker → · Palette generator →

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