#8C1D2A#8C1D2A

#8C1D2A is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.145 H 20.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8C1D2A
RGBrgb(140, 29, 42)
HSLhsl(353, 66%, 33%)
HSVhsv(353, 79%, 55%)
CMYKcmyk(0%, 79.3%, 70%, 45.1%)
CIE-LABlab(30.93, 46.24, 21.51)
CIE-LCHlch(30.93, 51.00, 24.95°)
OKLaboklab(42.26% 0.1364 0.0503)
OKLCHoklch(42.26% 0.145 20.2)
XYZxyz(11.6738, 6.6231, 2.8538)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1D2A #1D8C7F
analogous
#8C1D61 #8C1D2A #8C471D
triadic
#8C1D2A #2A8C1D #1D2A8C
tetradic
#8C1D2A #618C1D #1D8C7F #471D8C
square
#8C1D2A #618C1D #1D8C7F #471D8C
split-complementary
#8C1D2A #1D8C47 #1D618C
monochromatic
#27080C #59121B #8C1D2A #BF2839 #D94A5B

Accessibility & contrast

On white

9.04
#8C1D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8C1D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1D2A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1D2A#FFFFFF#000000##FFFFFF
##8C1D2A1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2A
Deuteranopia (green-blind)
#5A5127
Tritanopia (blue-blind)
#9A0023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c1d2a;
/* rgb */ color: rgb(140, 29, 42);
/* oklch */ color: oklch(42.3% 0.145 20.2);
Tailwind
colors: {
  custom: {
    50: '#b56463',
    500: '#8c1d2a',
    950: '#000000',
  },
}
SCSS
$custom: #8c1d2a;
$custom-light: #b56463;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1d2a",
  "rgb": {
    "r": 140,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 352.973,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4226,
    "c": 0.14544,
    "h": 20.2
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#8C1D2A
secondary
#49BCAE
accent
#E9D53F
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8C1D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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