#8D271A#8D271A

#8D271A is a dark, vivid red. Relative luminance 0.072; OKLCH L 43.2% C 0.139 H 30.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8D271A
RGBrgb(141, 39, 26)
HSLhsl(7, 69%, 33%)
HSVhsv(7, 82%, 55%)
CMYKcmyk(0%, 72.3%, 81.6%, 44.7%)
CIE-LABlab(32.24, 42.21, 32.80)
CIE-LCHlch(32.24, 53.46, 37.86°)
OKLaboklab(43.2% 0.12 0.0711)
OKLCHoklch(43.2% 0.139 30.7)
XYZxyz(11.8979, 7.1902, 1.7384)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D271A #1A808D
analogous
#8D1A46 #8D271A #8D611A
triadic
#8D271A #1A8D27 #271A8D
tetradic
#8D271A #468D1A #1A808D #611A8D
square
#8D271A #468D1A #1A808D #611A8D
split-complementary
#8D271A #1A8D61 #1A468D
monochromatic
#260A07 #591910 #8D271A #C13524 #DD5645

Accessibility & contrast

On white

8.62
#8D271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8D271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D271A
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D271A#FFFFFF#000000##FFFFFF
##8D271A1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E18
Deuteranopia (green-blind)
#5E5415
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d271a;
/* rgb */ color: rgb(141, 39, 26);
/* oklch */ color: oklch(43.2% 0.139 30.7);
Tailwind
colors: {
  custom: {
    50: '#b66858',
    500: '#8d271a',
    950: '#000000',
  },
}
SCSS
$custom: #8d271a;
$custom-light: #b66858;
$custom-dark: #000000;
JSON
{
  "hex": "#8d271a",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 6.783,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43199,
    "c": 0.13948,
    "h": 30.7
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#8D271A
secondary
#45B0BE
accent
#D8EC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8D271A

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

Preview Lab → · Contrast checker → · Palette generator →

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