#8A1E2A#8A1E2A

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

Color values

HEX#8A1E2A
RGBrgb(138, 30, 42)
HSLhsl(353, 64%, 33%)
HSVhsv(353, 78%, 54%)
CMYKcmyk(0%, 78.3%, 69.6%, 45.9%)
CIE-LABlab(30.64, 45.28, 21.06)
CIE-LCHlch(30.64, 49.94, 24.94°)
OKLaboklab(41.97% 0.1337 0.0494)
OKLCHoklch(41.97% 0.143 20.3)
XYZxyz(11.3647, 6.5007, 2.8464)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E2A #1E8A7E
analogous
#8A1E60 #8A1E2A #8A481E
triadic
#8A1E2A #2A8A1E #1E2A8A
tetradic
#8A1E2A #608A1E #1E8A7E #481E8A
square
#8A1E2A #608A1E #1E8A7E #481E8A
split-complementary
#8A1E2A #1E8A48 #1E608A
monochromatic
#25080B #58131B #8A1E2A #BC2939 #D84B5A

Accessibility & contrast

On white

9.13
#8A1E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E2A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E2A#FFFFFF#000000##FFFFFF
##8A1E2A1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E392A
Deuteranopia (green-blind)
#595027
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1e2a;
/* rgb */ color: rgb(138, 30, 42);
/* oklch */ color: oklch(42.0% 0.143 20.3);
Tailwind
colors: {
  custom: {
    50: '#b36463',
    500: '#8a1e2a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e2a;
$custom-light: #b36463;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e2a",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 353.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41971,
    "c": 0.14251,
    "h": 20.3
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#8A1E2A
secondary
#4ABAAE
accent
#E7D541
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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