#8A1D1C#8A1D1C

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

Color values

HEX#8A1D1C
RGBrgb(138, 29, 28)
HSLhsl(1, 66%, 33%)
HSVhsv(1, 80%, 54%)
CMYKcmyk(0%, 79%, 79.7%, 45.9%)
CIE-LABlab(30.32, 44.97, 29.48)
CIE-LCHlch(30.32, 53.77, 33.24°)
OKLaboklab(41.67% 0.1294 0.0648)
OKLCHoklch(41.67% 0.145 26.6)
XYZxyz(11.1315, 6.3676, 1.7413)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D1C #1C898A
analogous
#8A1C52 #8A1D1C #8A541C
triadic
#8A1D1C #1C8A1D #1D1C8A
tetradic
#8A1D1C #528A1C #1C898A #541C8A
square
#8A1D1C #528A1C #1C898A #541C8A
split-complementary
#8A1D1C #1C8A54 #1C528A
monochromatic
#240807 #571212 #8A1D1C #BD2826 #DA4847

Accessibility & contrast

On white

9.24
#8A1D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8A1D1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D1C
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D1C#FFFFFF#000000##FFFFFF
##8A1D1C1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381A
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#98001E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1d1c;
/* rgb */ color: rgb(138, 29, 28);
/* oklch */ color: oklch(41.7% 0.145 26.6);
Tailwind
colors: {
  custom: {
    50: '#b46359',
    500: '#8a1d1c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d1c;
$custom-light: #b46359;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d1c",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 28
  },
  "hsl": {
    "h": 0.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.14474,
    "h": 26.6
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#8A1D1C
secondary
#46BABB
accent
#E8E93F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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