#8D181F#8D181F

#8D181F is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.9% C 0.151 H 24.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#8D181F
RGBrgb(141, 24, 31)
HSLhsl(356, 71%, 32%)
HSVhsv(356, 83%, 55%)
CMYKcmyk(0%, 83%, 78%, 44.7%)
CIE-LABlab(30.44, 47.55, 27.96)
CIE-LCHlch(30.44, 55.16, 30.45°)
OKLaboklab(41.88% 0.1379 0.0621)
OKLCHoklch(41.88% 0.151 24.2)
XYZxyz(11.5599, 6.4168, 1.9260)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D181F #188D86
analogous
#8D185A #8D181F #8D4B18
triadic
#8D181F #1F8D18 #181F8D
tetradic
#8D181F #5A8D18 #188D86 #4B188D
square
#8D181F #5A8D18 #188D86 #4B188D
split-complementary
#8D181F #188D4B #185A8D
monochromatic
#240608 #590F14 #8D181F #C1212A #DF414A

Accessibility & contrast

On white

9.20
#8D181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8D181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D181F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D181F#FFFFFF#000000##FFFFFF
##8D181F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D381E
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#9C001C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d181f;
/* rgb */ color: rgb(141, 24, 31);
/* oklch */ color: oklch(41.9% 0.151 24.2);
Tailwind
colors: {
  custom: {
    50: '#b7625b',
    500: '#8d181f',
    950: '#000000',
  },
}
SCSS
$custom: #8d181f;
$custom-light: #b7625b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d181f",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 356.41,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4188,
    "c": 0.15125,
    "h": 24.2
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#8D181F
secondary
#42BFB8
accent
#EEE33A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8D181F

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

Preview Lab → · Contrast checker → · Palette generator →

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