#8D1F1F#8D1F1F

#8D1F1F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.5% C 0.146 H 26.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8D1F1F
RGBrgb(141, 31, 31)
HSLhsl(0, 64%, 34%)
HSVhsv(0, 78%, 55%)
CMYKcmyk(0%, 78%, 78%, 44.7%)
CIE-LABlab(31.22, 45.37, 28.81)
CIE-LCHlch(31.22, 53.75, 32.41°)
OKLaboklab(42.46% 0.131 0.064)
OKLCHoklch(42.46% 0.146 26)
XYZxyz(11.7232, 6.7435, 1.9804)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F1F #1F8D8D
analogous
#8D1F56 #8D1F1F #8D561F
triadic
#8D1F1F #1F8D1F #1F1F8D
tetradic
#8D1F1F #568D1F #1F8D8D #561F8D
square
#8D1F1F #568D1F #1F8D8D #561F8D
split-complementary
#8D1F1F #1F8D56 #1F568D
monochromatic
#290909 #5B1414 #8D1F1F #BF2A2A #D84E4E

Accessibility & contrast

On white

8.94
#8D1F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8D1F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F1F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F1F#FFFFFF#000000##FFFFFF
##8D1F1F1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1E
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#9C0021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1f1f;
/* rgb */ color: rgb(141, 31, 31);
/* oklch */ color: oklch(42.5% 0.146 26.0);
Tailwind
colors: {
  custom: {
    50: '#b6655b',
    500: '#8d1f1f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f1f;
$custom-light: #b6655b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f1f",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 31
  },
  "hsl": {
    "h": 0,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42455,
    "c": 0.14579,
    "h": 26
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#8D1F1F
secondary
#4DBBBB
accent
#E7E741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8D1F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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