#8C1F2A#8C1F2A

#8C1F2A is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.144 H 20.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8C1F2A
RGBrgb(140, 31, 42)
HSLhsl(354, 64%, 34%)
HSVhsv(354, 78%, 55%)
CMYKcmyk(0%, 77.9%, 70%, 45.1%)
CIE-LABlab(31.17, 45.57, 21.80)
CIE-LCHlch(31.17, 50.52, 25.57°)
OKLaboklab(42.44% 0.1343 0.051)
OKLCHoklch(42.44% 0.144 20.8)
XYZxyz(11.7244, 6.7244, 2.8706)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1F2A #1F8C81
analogous
#8C1F60 #8C1F2A #8C4A1F
triadic
#8C1F2A #2A8C1F #1F2A8C
tetradic
#8C1F2A #608C1F #1F8C81 #4A1F8C
square
#8C1F2A #608C1F #1F8C81 #4A1F8C
split-complementary
#8C1F2A #1F8C4A #1F608C
monochromatic
#28090C #5A141B #8C1F2A #BE2A39 #D84E5C

Accessibility & contrast

On white

8.96
#8C1F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8C1F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1F2A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1F2A#FFFFFF#000000##FFFFFF
##8C1F2A1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2A
Deuteranopia (green-blind)
#5A5227
Tritanopia (blue-blind)
#9A0024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c1f2a;
/* rgb */ color: rgb(140, 31, 42);
/* oklch */ color: oklch(42.4% 0.144 20.8);
Tailwind
colors: {
  custom: {
    50: '#b56563',
    500: '#8c1f2a',
    950: '#000000',
  },
}
SCSS
$custom: #8c1f2a;
$custom-light: #b56563;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1f2a",
  "rgb": {
    "r": 140,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 353.945,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.14367,
    "h": 20.8
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#8C1F2A
secondary
#4CBBAF
accent
#E7D641
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8C1F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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