#8B271D#8B271D

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

Color values

HEX#8B271D
RGBrgb(139, 39, 29)
HSLhsl(5, 65%, 33%)
HSVhsv(5, 79%, 55%)
CMYKcmyk(0%, 71.9%, 79.1%, 45.5%)
CIE-LABlab(31.88, 41.62, 30.59)
CIE-LCHlch(31.88, 51.66, 36.31°)
OKLaboklab(42.87% 0.119 0.0674)
OKLCHoklch(42.87% 0.137 29.5)
XYZxyz(11.5961, 7.0305, 1.9086)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B271D #1D818B
analogous
#8B1D4A #8B271D #8B5E1D
triadic
#8B271D #1D8B27 #271D8B
tetradic
#8B271D #4A8B1D #1D818B #5E1D8B
square
#8B271D #4A8B1D #1D818B #5E1D8B
split-complementary
#8B271D #1D8B5E #1D4A8B
monochromatic
#260B08 #581912 #8B271D #BE3528 #D95649

Accessibility & contrast

On white

8.73
#8B271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8B271D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B271D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B271D#FFFFFF#000000##FFFFFF
##8B271D1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1B
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#990126
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b271d;
/* rgb */ color: rgb(139, 39, 29);
/* oklch */ color: oklch(42.9% 0.137 29.5);
Tailwind
colors: {
  custom: {
    50: '#b5685a',
    500: '#8b271d',
    950: '#000000',
  },
}
SCSS
$custom: #8b271d;
$custom-light: #b5685a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b271d",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 5.455,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42868,
    "c": 0.13679,
    "h": 29.5
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#8B271D
secondary
#49B1BB
accent
#D9E83F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8B271D

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

Preview Lab → · Contrast checker → · Palette generator →

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