#8D1F26#8D1F26

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

Color values

HEX#8D1F26
RGBrgb(141, 31, 38)
HSLhsl(356, 64%, 34%)
HSVhsv(356, 78%, 55%)
CMYKcmyk(0%, 78%, 73%, 44.7%)
CIE-LABlab(31.31, 45.68, 24.57)
CIE-LCHlch(31.31, 51.87, 28.28°)
OKLaboklab(42.56% 0.1336 0.0564)
OKLCHoklch(42.56% 0.145 22.9)
XYZxyz(11.8257, 6.7845, 2.5202)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F26 #1F8D86
analogous
#8D1F5D #8D1F26 #8D4F1F
triadic
#8D1F26 #268D1F #1F268D
tetradic
#8D1F26 #5D8D1F #1F8D86 #4F1F8D
square
#8D1F26 #5D8D1F #1F8D86 #4F1F8D
split-complementary
#8D1F26 #1F8D4F #1F5D8D
monochromatic
#29090B #5B1418 #8D1F26 #BF2A34 #D84E57

Accessibility & contrast

On white

8.91
#8D1F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F26
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F26#FFFFFF#000000##FFFFFF
##8D1F261.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B25
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#9B0023
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1f26;
/* rgb */ color: rgb(141, 31, 38);
/* oklch */ color: oklch(42.6% 0.145 22.9);
Tailwind
colors: {
  custom: {
    50: '#b66560',
    500: '#8d1f26',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f26;
$custom-light: #b66560;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f26",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 356.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42557,
    "c": 0.14501,
    "h": 22.9
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#8D1F26
secondary
#4DBBB4
accent
#E7DC41
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8D1F26

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

Preview Lab → · Contrast checker → · Palette generator →

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