#8A1E1F#8A1E1F

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

Color values

HEX#8A1E1F
RGBrgb(138, 30, 31)
HSLhsl(359, 64%, 33%)
HSVhsv(359, 78%, 54%)
CMYKcmyk(0%, 78.3%, 77.5%, 45.9%)
CIE-LABlab(30.48, 44.75, 27.82)
CIE-LCHlch(30.48, 52.69, 31.87°)
OKLaboklab(41.8% 0.1294 0.062)
OKLCHoklch(41.8% 0.144 25.6)
XYZxyz(11.1941, 6.4325, 1.9482)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E1F #1E8A89
analogous
#8A1E55 #8A1E1F #8A531E
triadic
#8A1E1F #1F8A1E #1E1F8A
tetradic
#8A1E1F #558A1E #1E8A89 #531E8A
square
#8A1E1F #558A1E #1E8A89 #531E8A
split-complementary
#8A1E1F #1E8A53 #1E558A
monochromatic
#250808 #581314 #8A1E1F #BC292A #D84B4C

Accessibility & contrast

On white

9.19
#8A1E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E1F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E1F#FFFFFF#000000##FFFFFF
##8A1E1F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1e1f;
/* rgb */ color: rgb(138, 30, 31);
/* oklch */ color: oklch(41.8% 0.144 25.6);
Tailwind
colors: {
  custom: {
    50: '#b4645b',
    500: '#8a1e1f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e1f;
$custom-light: #b4645b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e1f",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41797,
    "c": 0.14353,
    "h": 25.6
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#8A1E1F
secondary
#4ABAB9
accent
#E7E641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8A1E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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