#8A1B1B#8A1B1B

#8A1B1B is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.146 H 26.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#8A1B1B
RGBrgb(138, 27, 27)
HSLhsl(0, 67%, 32%)
HSVhsv(0, 80%, 54%)
CMYKcmyk(0%, 80.4%, 80.4%, 45.9%)
CIE-LABlab(30.08, 45.58, 29.82)
CIE-LCHlch(30.08, 54.47, 33.19°)
OKLaboklab(41.48% 0.1312 0.0652)
OKLCHoklch(41.48% 0.146 26.4)
XYZxyz(11.0723, 6.2680, 1.6636)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B1B #1B8A8A
analogous
#8A1B53 #8A1B1B #8A531B
triadic
#8A1B1B #1B8A1B #1B1B8A
tetradic
#8A1B1B #538A1B #1B8A8A #531B8A
square
#8A1B1B #538A1B #1B8A8A #531B8A
split-complementary
#8A1B1B #1B8A53 #1B538A
monochromatic
#240707 #571111 #8A1B1B #BD2525 #DB4545

Accessibility & contrast

On white

9.32
#8A1B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#8A1B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B1B
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B1B#FFFFFF#000000##FFFFFF
##8A1B1B1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3719
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#99001D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1b1b;
/* rgb */ color: rgb(138, 27, 27);
/* oklch */ color: oklch(41.5% 0.146 26.4);
Tailwind
colors: {
  custom: {
    50: '#b56358',
    500: '#8a1b1b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b1b;
$custom-light: #b56358;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b1b",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 27
  },
  "hsl": {
    "h": 0,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41484,
    "c": 0.14646,
    "h": 26.4
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#8A1B1B
secondary
#45BCBC
accent
#EAEA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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