#8B271F#8B271F

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

Color values

HEX#8B271F
RGBrgb(139, 39, 31)
HSLhsl(4, 64%, 33%)
HSVhsv(4, 78%, 55%)
CMYKcmyk(0%, 71.9%, 77.7%, 45.5%)
CIE-LABlab(31.90, 41.71, 29.44)
CIE-LCHlch(31.90, 51.05, 35.22°)
OKLaboklab(42.89% 0.1197 0.0655)
OKLCHoklch(42.89% 0.136 28.7)
XYZxyz(11.6216, 7.0407, 2.0431)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B271F #1F838B
analogous
#8B1F4D #8B271F #8B5D1F
triadic
#8B271F #1F8B27 #271F8B
tetradic
#8B271F #4D8B1F #1F838B #5D1F8B
square
#8B271F #4D8B1F #1F838B #5D1F8B
split-complementary
#8B271F #1F8B5D #1F4D8B
monochromatic
#270B09 #591914 #8B271F #BD352A #D7574D

Accessibility & contrast

On white

8.72
#8B271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B271F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B271F#FFFFFF#000000##FFFFFF
##8B271F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1D
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#990226
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b271f;
/* rgb */ color: rgb(139, 39, 31);
/* oklch */ color: oklch(42.9% 0.136 28.7);
Tailwind
colors: {
  custom: {
    50: '#b5685b',
    500: '#8b271f',
    950: '#000000',
  },
}
SCSS
$custom: #8b271f;
$custom-light: #b5685b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b271f",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 4.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42893,
    "c": 0.13644,
    "h": 28.7
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#8B271F
secondary
#4CB2BA
accent
#DAE741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8B271F

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

Preview Lab → · Contrast checker → · Palette generator →

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