#8A181A#8A181A

#8A181A is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.149 H 26.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#8A181A
RGBrgb(138, 24, 26)
HSLhsl(359, 70%, 32%)
HSVhsv(359, 83%, 54%)
CMYKcmyk(0%, 82.6%, 81.2%, 45.9%)
CIE-LABlab(29.75, 46.45, 30.07)
CIE-LCHlch(29.75, 55.34, 32.92°)
OKLaboklab(41.23% 0.1337 0.0654)
OKLCHoklch(41.23% 0.149 26.1)
XYZxyz(10.9957, 6.1329, 1.5819)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A181A #188A88
analogous
#8A1853 #8A181A #8A4F18
triadic
#8A181A #1A8A18 #181A8A
tetradic
#8A181A #538A18 #188A88 #4F188A
square
#8A181A #538A18 #188A88 #4F188A
split-complementary
#8A181A #188A4F #18538A
monochromatic
#220606 #560F10 #8A181A #BE2124 #DE3F42

Accessibility & contrast

On white

9.43
#8A181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#8A181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A181A
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A181A#FFFFFF#000000##FFFFFF
##8A181A1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3619
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#99001B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a181a;
/* rgb */ color: rgb(138, 24, 26);
/* oklch */ color: oklch(41.2% 0.149 26.1);
Tailwind
colors: {
  custom: {
    50: '#b56157',
    500: '#8a181a',
    950: '#000000',
  },
}
SCSS
$custom: #8a181a;
$custom-light: #b56157;
$custom-dark: #000000;
JSON
{
  "hex": "#8a181a",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 358.947,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41233,
    "c": 0.14882,
    "h": 26.1
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#8A181A
secondary
#40BDBB
accent
#EDEA3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A181A

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

Preview Lab → · Contrast checker → · Palette generator →

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