#8A1D1B#8A1D1B

#8A1D1B is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.145 H 27.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#8A1D1B
RGBrgb(138, 29, 27)
HSLhsl(1, 67%, 32%)
HSVhsv(1, 80%, 54%)
CMYKcmyk(0%, 79%, 80.4%, 45.9%)
CIE-LABlab(30.31, 44.93, 30.06)
CIE-LCHlch(30.31, 54.06, 33.78°)
OKLaboklab(41.66% 0.1291 0.0657)
OKLCHoklch(41.66% 0.145 27)
XYZxyz(11.1198, 6.3629, 1.6794)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D1B #1B888A
analogous
#8A1B51 #8A1D1B #8A551B
triadic
#8A1D1B #1B8A1D #1D1B8A
tetradic
#8A1D1B #518A1B #1B888A #551B8A
square
#8A1D1B #518A1B #1B888A #551B8A
split-complementary
#8A1D1B #1B8A55 #1B518A
monochromatic
#240707 #571211 #8A1D1B #BD2825 #DB4845

Accessibility & contrast

On white

9.24
#8A1D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8A1D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D1B
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D1B#FFFFFF#000000##FFFFFF
##8A1D1B1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3819
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#98001E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1d1b;
/* rgb */ color: rgb(138, 29, 27);
/* oklch */ color: oklch(41.7% 0.145 27.0);
Tailwind
colors: {
  custom: {
    50: '#b56358',
    500: '#8a1d1b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d1b;
$custom-light: #b56358;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d1b",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 27
  },
  "hsl": {
    "h": 1.081,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41656,
    "c": 0.14487,
    "h": 27
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#8A1D1B
secondary
#45BABC
accent
#E7EA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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