#8C271B#8C271B

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

Color values

HEX#8C271B
RGBrgb(140, 39, 27)
HSLhsl(6, 68%, 33%)
HSVhsv(6, 81%, 55%)
CMYKcmyk(0%, 72.1%, 80.7%, 45.1%)
CIE-LABlab(32.05, 41.89, 31.99)
CIE-LCHlch(32.05, 52.71, 37.36°)
OKLaboklab(43.03% 0.1193 0.0698)
OKLCHoklch(43.03% 0.138 30.3)
XYZxyz(11.7399, 7.1074, 1.7904)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C271B #1B808C
analogous
#8C1B47 #8C271B #8C601B
triadic
#8C271B #1B8C27 #271B8C
tetradic
#8C271B #478C1B #1B808C #601B8C
square
#8C271B #478C1B #1B808C #601B8C
split-complementary
#8C271B #1B8C60 #1B478C
monochromatic
#250A07 #591911 #8C271B #BF3525 #DB5646

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C271B#FFFFFF#000000##FFFFFF
##8C271B1.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)
#453D19
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#9B0025
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8c271b;
/* rgb */ color: rgb(140, 39, 27);
/* oklch */ color: oklch(43.0% 0.138 30.3);
Tailwind
colors: {
  custom: {
    50: '#b66858',
    500: '#8c271b',
    950: '#000000',
  },
}
SCSS
$custom: #8c271b;
$custom-light: #b66858;
$custom-dark: #000000;
JSON
{
  "hex": "#8c271b",
  "rgb": {
    "r": 140,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 6.372,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43027,
    "c": 0.13823,
    "h": 30.3
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#8C271B
secondary
#46B0BD
accent
#D8EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8C271B

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

Preview Lab → · Contrast checker → · Palette generator →

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