#8B271A#8B271A

#8B271A is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.8% C 0.137 H 30.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8B271A
RGBrgb(139, 39, 26)
HSLhsl(7, 68%, 32%)
HSVhsv(7, 81%, 55%)
CMYKcmyk(0%, 71.9%, 81.3%, 45.5%)
CIE-LABlab(31.84, 41.51, 32.28)
CIE-LCHlch(31.84, 52.59, 37.87°)
OKLaboklab(42.83% 0.1181 0.0702)
OKLCHoklch(42.83% 0.137 30.7)
XYZxyz(11.5608, 7.0163, 1.7226)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B271A #1A7E8B
analogous
#8B1A45 #8B271A #8B601A
triadic
#8B271A #1A8B27 #271A8B
tetradic
#8B271A #458B1A #1A7E8B #601A8B
square
#8B271A #458B1A #1A7E8B #601A8B
split-complementary
#8B271A #1A8B60 #1A458B
monochromatic
#240A07 #571910 #8B271A #BF3524 #DC5543

Accessibility & contrast

On white

8.74
#8B271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8B271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B271A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B271A#FFFFFF#000000##FFFFFF
##8B271A1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D18
Deuteranopia (green-blind)
#5D5316
Tritanopia (blue-blind)
#990125
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b271a;
/* rgb */ color: rgb(139, 39, 26);
/* oklch */ color: oklch(42.8% 0.137 30.7);
Tailwind
colors: {
  custom: {
    50: '#b56858',
    500: '#8b271a',
    950: '#000000',
  },
}
SCSS
$custom: #8b271a;
$custom-light: #b56858;
$custom-dark: #000000;
JSON
{
  "hex": "#8b271a",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 6.903,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.13733,
    "h": 30.7
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#8B271A
secondary
#44AFBD
accent
#D7EB3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8B271A

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

Preview Lab → · Contrast checker → · Palette generator →

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