#8A1F1D#8A1F1D

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

Color values

HEX#8A1F1D
RGBrgb(138, 31, 29)
HSLhsl(1, 65%, 33%)
HSVhsv(1, 79%, 54%)
CMYKcmyk(0%, 77.5%, 79%, 45.9%)
CIE-LABlab(30.58, 44.32, 29.15)
CIE-LCHlch(30.58, 53.05, 33.33°)
OKLaboklab(41.86% 0.1276 0.0644)
OKLCHoklch(41.86% 0.143 26.8)
XYZxyz(11.1943, 6.4737, 1.8223)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F1D #1D888A
analogous
#8A1D51 #8A1F1D #8A551D
triadic
#8A1F1D #1D8A1F #1F1D8A
tetradic
#8A1F1D #518A1D #1D888A #551D8A
square
#8A1F1D #518A1D #1D888A #551D8A
split-complementary
#8A1F1D #1D8A55 #1D518A
monochromatic
#250808 #571412 #8A1F1D #BD2A28 #D94B49

Accessibility & contrast

On white

9.15
#8A1F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F1D
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F1D#FFFFFF#000000##FFFFFF
##8A1F1D1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40391B
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f1d;
/* rgb */ color: rgb(138, 31, 29);
/* oklch */ color: oklch(41.9% 0.143 26.8);
Tailwind
colors: {
  custom: {
    50: '#b46459',
    500: '#8a1f1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f1d;
$custom-light: #b46459;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f1d",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 1.101,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41863,
    "c": 0.14293,
    "h": 26.8
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#8A1F1D
secondary
#48B9BB
accent
#E5E840
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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