#8A1D2A#8A1D2A

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

Color values

HEX#8A1D2A
RGBrgb(138, 29, 42)
HSLhsl(353, 65%, 33%)
HSVhsv(353, 79%, 54%)
CMYKcmyk(0%, 79%, 69.6%, 45.9%)
CIE-LABlab(30.52, 45.62, 20.91)
CIE-LCHlch(30.52, 50.18, 24.63°)
OKLaboklab(41.88% 0.1347 0.0491)
OKLCHoklch(41.88% 0.143 20)
XYZxyz(11.3398, 6.4509, 2.8381)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D2A #1D8A7D
analogous
#8A1D60 #8A1D2A #8A461D
triadic
#8A1D2A #2A8A1D #1D2A8A
tetradic
#8A1D2A #608A1D #1D8A7D #461D8A
square
#8A1D2A #608A1D #1D8A7D #461D8A
split-complementary
#8A1D2A #1D8A46 #1D608A
monochromatic
#25080B #57121B #8A1D2A #BD2839 #D9495A

Accessibility & contrast

On white

9.17
#8A1D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D2A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D2A#FFFFFF#000000##FFFFFF
##8A1D2A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1d2a;
/* rgb */ color: rgb(138, 29, 42);
/* oklch */ color: oklch(41.9% 0.143 20.0);
Tailwind
colors: {
  custom: {
    50: '#b36463',
    500: '#8a1d2a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d2a;
$custom-light: #b36463;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d2a",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 352.844,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.1434,
    "h": 20
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#8A1D2A
secondary
#48BBAD
accent
#E8D440
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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