#8A1E1A#8A1E1A

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

Color values

HEX#8A1E1A
RGBrgb(138, 30, 26)
HSLhsl(2, 68%, 32%)
HSVhsv(2, 81%, 54%)
CMYKcmyk(0%, 78.3%, 81.2%, 45.9%)
CIE-LABlab(30.42, 44.56, 30.76)
CIE-LCHlch(30.42, 54.15, 34.62°)
OKLaboklab(41.73% 0.1277 0.0669)
OKLCHoklch(41.73% 0.144 27.7)
XYZxyz(11.1333, 6.4082, 1.6278)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E1A #1A868A
analogous
#8A1A4E #8A1E1A #8A561A
triadic
#8A1E1A #1A8A1E #1E1A8A
tetradic
#8A1E1A #4E8A1A #1A868A #561A8A
square
#8A1E1A #4E8A1A #1A868A #561A8A
split-complementary
#8A1E1A #1A8A56 #1A4E8A
monochromatic
#230807 #571310 #8A1E1A #BD2924 #DC4843

Accessibility & contrast

On white

9.21
#8A1E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E1A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E1A#FFFFFF#000000##FFFFFF
##8A1E1A1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3918
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#98001E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1e1a;
/* rgb */ color: rgb(138, 30, 26);
/* oklch */ color: oklch(41.7% 0.144 27.7);
Tailwind
colors: {
  custom: {
    50: '#b56457',
    500: '#8a1e1a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e1a;
$custom-light: #b56457;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e1a",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 26
  },
  "hsl": {
    "h": 2.143,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41734,
    "c": 0.14419,
    "h": 27.7
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#8A1E1A
secondary
#43B8BD
accent
#E5EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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