#8D1F2A#8D1F2A

#8D1F2A is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.6% C 0.145 H 20.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8D1F2A
RGBrgb(141, 31, 42)
HSLhsl(354, 64%, 34%)
HSVhsv(354, 78%, 55%)
CMYKcmyk(0%, 78%, 70.2%, 44.7%)
CIE-LABlab(31.37, 45.89, 22.10)
CIE-LCHlch(31.37, 50.93, 25.71°)
OKLaboklab(42.62% 0.1352 0.0516)
OKLCHoklch(42.62% 0.145 20.9)
XYZxyz(11.8937, 6.8117, 2.8786)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F2A #1F8D82
analogous
#8D1F61 #8D1F2A #8D4B1F
triadic
#8D1F2A #2A8D1F #1F2A8D
tetradic
#8D1F2A #618D1F #1F8D82 #4B1F8D
square
#8D1F2A #618D1F #1F8D82 #4B1F8D
split-complementary
#8D1F2A #1F8D4B #1F618D
monochromatic
#29090C #5B141B #8D1F2A #BF2A39 #D84E5C

Accessibility & contrast

On white

8.89
#8D1F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8D1F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F2A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F2A#FFFFFF#000000##FFFFFF
##8D1F2A1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2A
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#9B0024
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1f2a;
/* rgb */ color: rgb(141, 31, 42);
/* oklch */ color: oklch(42.6% 0.145 20.9);
Tailwind
colors: {
  custom: {
    50: '#b66563',
    500: '#8d1f2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f2a;
$custom-light: #b66563;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f2a",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 354,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42624,
    "c": 0.1447,
    "h": 20.9
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

primary
#8D1F2A
secondary
#4DBBB0
accent
#E7D641
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8D1F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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