#8A1C2A#8A1C2A

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

Color values

HEX#8A1C2A
RGBrgb(138, 28, 42)
HSLhsl(352, 66%, 33%)
HSVhsv(352, 80%, 54%)
CMYKcmyk(0%, 79.7%, 69.6%, 45.9%)
CIE-LABlab(30.41, 45.94, 20.77)
CIE-LCHlch(30.41, 50.42, 24.32°)
OKLaboklab(41.8% 0.1358 0.0488)
OKLCHoklch(41.8% 0.144 19.7)
XYZxyz(11.3157, 6.4027, 2.8301)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C2A #1C8A7C
analogous
#8A1C61 #8A1C2A #8A451C
triadic
#8A1C2A #2A8A1C #1C2A8A
tetradic
#8A1C2A #618A1C #1C8A7C #451C8A
square
#8A1C2A #618A1C #1C8A7C #451C8A
split-complementary
#8A1C2A #1C8A45 #1C618A
monochromatic
#24070B #57121B #8A1C2A #BD2639 #DA4759

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1C2A#FFFFFF#000000##FFFFFF
##8A1C2A1.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)
#3D392A
Deuteranopia (green-blind)
#585027
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1c2a;
/* rgb */ color: rgb(138, 28, 42);
/* oklch */ color: oklch(41.8% 0.144 19.7);
Tailwind
colors: {
  custom: {
    50: '#b36363',
    500: '#8a1c2a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c2a;
$custom-light: #b36363;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c2a",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 352.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41796,
    "c": 0.14427,
    "h": 19.7
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#8A1C2A
secondary
#46BBAD
accent
#E9D33F
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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