#8B271B#8B271B

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

Color values

HEX#8B271B
RGBrgb(139, 39, 27)
HSLhsl(6, 67%, 33%)
HSVhsv(6, 81%, 55%)
CMYKcmyk(0%, 71.9%, 80.6%, 45.5%)
CIE-LABlab(31.85, 41.55, 31.72)
CIE-LCHlch(31.85, 52.27, 37.37°)
OKLaboklab(42.85% 0.1184 0.0693)
OKLCHoklch(42.85% 0.137 30.3)
XYZxyz(11.5721, 7.0209, 1.7825)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B271B #1B7F8B
analogous
#8B1B47 #8B271B #8B5F1B
triadic
#8B271B #1B8B27 #271B8B
tetradic
#8B271B #478B1B #1B7F8B #5F1B8B
square
#8B271B #478B1B #1B7F8B #5F1B8B
split-complementary
#8B271B #1B8B5F #1B478B
monochromatic
#250A07 #581911 #8B271B #BE3525 #DB5545

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B271B#FFFFFF#000000##FFFFFF
##8B271B1.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)
#443D19
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#990125
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b271b;
/* rgb */ color: rgb(139, 39, 27);
/* oklch */ color: oklch(42.8% 0.137 30.3);
Tailwind
colors: {
  custom: {
    50: '#b56858',
    500: '#8b271b',
    950: '#000000',
  },
}
SCSS
$custom: #8b271b;
$custom-light: #b56858;
$custom-dark: #000000;
JSON
{
  "hex": "#8b271b",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 6.429,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.13714,
    "h": 30.3
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#8B271B
secondary
#45B0BC
accent
#D8EA3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8B271B

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

Preview Lab → · Contrast checker → · Palette generator →

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