#8A1D2E#8A1D2E

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

Color values

HEX#8A1D2E
RGBrgb(138, 29, 46)
HSLhsl(351, 65%, 33%)
HSVhsv(351, 79%, 54%)
CMYKcmyk(0%, 79%, 66.7%, 45.9%)
CIE-LABlab(30.59, 45.85, 18.40)
CIE-LCHlch(30.59, 49.40, 21.86°)
OKLaboklab(41.96% 0.1364 0.0439)
OKLCHoklch(41.96% 0.143 17.9)
XYZxyz(11.4150, 6.4810, 3.2341)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D2E #1D8A79
analogous
#8A1D64 #8A1D2E #8A421D
triadic
#8A1D2E #2E8A1D #1D2E8A
tetradic
#8A1D2E #648A1D #1D8A79 #421D8A
square
#8A1D2E #648A1D #1D8A79 #421D8A
split-complementary
#8A1D2E #1D8A42 #1D648A
monochromatic
#25080C #57121D #8A1D2E #BD283F #D9495F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1D2E#FFFFFF#000000##FFFFFF
##8A1D2E1.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)
#3D392E
Deuteranopia (green-blind)
#58502B
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1d2e;
/* rgb */ color: rgb(138, 29, 46);
/* oklch */ color: oklch(42.0% 0.143 17.9);
Tailwind
colors: {
  custom: {
    50: '#b36466',
    500: '#8a1d2e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d2e;
$custom-light: #b36466;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d2e",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 350.642,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41959,
    "c": 0.14327,
    "h": 17.9
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#8A1D2E
secondary
#48BBA9
accent
#E8CE40
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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