#8A1F1E#8A1F1E

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

Color values

HEX#8A1F1E
RGBrgb(138, 31, 30)
HSLhsl(1, 64%, 33%)
HSVhsv(1, 78%, 54%)
CMYKcmyk(0%, 77.5%, 78.3%, 45.9%)
CIE-LABlab(30.59, 44.36, 28.56)
CIE-LCHlch(30.59, 52.76, 32.77°)
OKLaboklab(41.88% 0.128 0.0634)
OKLCHoklch(41.88% 0.143 26.3)
XYZxyz(11.2069, 6.4787, 1.8885)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F1E #1E898A
analogous
#8A1E53 #8A1F1E #8A551E
triadic
#8A1F1E #1E8A1F #1F1E8A
tetradic
#8A1F1E #538A1E #1E898A #551E8A
square
#8A1F1E #538A1E #1E898A #551E8A
split-complementary
#8A1F1E #1E8A55 #1E538A
monochromatic
#250808 #581413 #8A1F1E #BC2A29 #D84C4B

Accessibility & contrast

On white

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

On black

2.30
#8A1F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A1F1E#FFFFFF#000000##FFFFFF
##8A1F1E1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391D
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f1e;
/* rgb */ color: rgb(138, 31, 30);
/* oklch */ color: oklch(41.9% 0.143 26.3);
Tailwind
colors: {
  custom: {
    50: '#b4645a',
    500: '#8a1f1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f1e;
$custom-light: #b4645a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f1e",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 30
  },
  "hsl": {
    "h": 0.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41875,
    "c": 0.1428,
    "h": 26.3
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#8A1F1E
secondary
#4AB9BA
accent
#E6E741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8A1F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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