#8A1F1A#8A1F1A

#8A1F1A is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.8% C 0.143 H 28.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#8A1F1A
RGBrgb(138, 31, 26)
HSLhsl(3, 68%, 32%)
HSVhsv(3, 81%, 54%)
CMYKcmyk(0%, 77.5%, 81.2%, 45.9%)
CIE-LABlab(30.54, 44.21, 30.89)
CIE-LCHlch(30.54, 53.94, 34.94°)
OKLaboklab(41.83% 0.1266 0.0672)
OKLCHoklch(41.83% 0.143 28)
XYZxyz(11.1590, 6.4596, 1.6363)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F1A #1A858A
analogous
#8A1A4D #8A1F1A #8A571A
triadic
#8A1F1A #1A8A1F #1F1A8A
tetradic
#8A1F1A #4D8A1A #1A858A #571A8A
square
#8A1F1A #4D8A1A #1A858A #571A8A
split-complementary
#8A1F1A #1A8A57 #1A4D8A
monochromatic
#230807 #571310 #8A1F1A #BD2B24 #DC4A43

Accessibility & contrast

On white

9.16
#8A1F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A1F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F1A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F1A#FFFFFF#000000##FFFFFF
##8A1F1A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403918
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#98001F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f1a;
/* rgb */ color: rgb(138, 31, 26);
/* oklch */ color: oklch(41.8% 0.143 28.0);
Tailwind
colors: {
  custom: {
    50: '#b56457',
    500: '#8a1f1a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f1a;
$custom-light: #b56457;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f1a",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 26
  },
  "hsl": {
    "h": 2.679,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.14335,
    "h": 28
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#8A1F1A
secondary
#43B7BD
accent
#E3EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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