#8A1D1F#8A1D1F

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

Color values

HEX#8A1D1F
RGBrgb(138, 29, 31)
HSLhsl(359, 65%, 33%)
HSVhsv(359, 79%, 54%)
CMYKcmyk(0%, 79%, 77.5%, 45.9%)
CIE-LABlab(30.36, 45.09, 27.69)
CIE-LCHlch(30.36, 52.91, 31.56°)
OKLaboklab(41.71% 0.1305 0.0617)
OKLCHoklch(41.71% 0.144 25.3)
XYZxyz(11.1692, 6.3827, 1.9399)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D1F #1D8A88
analogous
#8A1D55 #8A1D1F #8A511D
triadic
#8A1D1F #1F8A1D #1D1F8A
tetradic
#8A1D1F #558A1D #1D8A88 #511D8A
square
#8A1D1F #558A1D #1D8A88 #511D8A
split-complementary
#8A1D1F #1D8A51 #1D558A
monochromatic
#250808 #571214 #8A1D1F #BD282A #D9494B

Accessibility & contrast

On white

9.23
#8A1D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D1F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D1F#FFFFFF#000000##FFFFFF
##8A1D1F1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381E
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#98001F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1d1f;
/* rgb */ color: rgb(138, 29, 31);
/* oklch */ color: oklch(41.7% 0.144 25.3);
Tailwind
colors: {
  custom: {
    50: '#b4635b',
    500: '#8a1d1f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d1f;
$custom-light: #b4635b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d1f",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 31
  },
  "hsl": {
    "h": 358.899,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41707,
    "c": 0.14436,
    "h": 25.3
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#8A1D1F
secondary
#48BBB9
accent
#E8E540
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8A1D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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