#8B1F1B#8B1F1B

#8B1F1B is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.144 H 27.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#8B1F1B
RGBrgb(139, 31, 27)
HSLhsl(2, 67%, 33%)
HSVhsv(2, 81%, 55%)
CMYKcmyk(0%, 77.7%, 80.6%, 45.5%)
CIE-LABlab(30.76, 44.57, 30.59)
CIE-LCHlch(30.76, 54.06, 34.46°)
OKLaboklab(42.03% 0.1279 0.0668)
OKLCHoklch(42.03% 0.144 27.6)
XYZxyz(11.3366, 6.5499, 1.7040)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F1B #1B878B
analogous
#8B1B4F #8B1F1B #8B571B
triadic
#8B1F1B #1B8B1F #1F1B8B
tetradic
#8B1F1B #4F8B1B #1B878B #571B8B
square
#8B1F1B #4F8B1B #1B878B #571B8B
split-complementary
#8B1F1B #1B8B57 #1B4F8B
monochromatic
#250807 #581411 #8B1F1B #BE2A25 #DB4B45

Accessibility & contrast

On white

9.09
#8B1F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8B1F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F1B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F1B#FFFFFF#000000##FFFFFF
##8B1F1B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403919
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#9A001F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b1f1b;
/* rgb */ color: rgb(139, 31, 27);
/* oklch */ color: oklch(42.0% 0.144 27.6);
Tailwind
colors: {
  custom: {
    50: '#b56458',
    500: '#8b1f1b',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f1b;
$custom-light: #b56458;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f1b",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 27
  },
  "hsl": {
    "h": 2.143,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42028,
    "c": 0.14426,
    "h": 27.6
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#8B1F1B
secondary
#45B8BC
accent
#E4EA3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8B1F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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