#8D1F2D#8D1F2D

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

Color values

HEX#8D1F2D
RGBrgb(141, 31, 45)
HSLhsl(352, 64%, 34%)
HSVhsv(352, 78%, 55%)
CMYKcmyk(0%, 78%, 68.1%, 44.7%)
CIE-LABlab(31.43, 46.06, 20.23)
CIE-LCHlch(31.43, 50.30, 23.71°)
OKLaboklab(42.68% 0.1364 0.0478)
OKLCHoklch(42.68% 0.145 19.3)
XYZxyz(11.9495, 6.8340, 3.1720)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F2D #1F8D7F
analogous
#8D1F64 #8D1F2D #8D481F
triadic
#8D1F2D #2D8D1F #1F2D8D
tetradic
#8D1F2D #648D1F #1F8D7F #481F8D
square
#8D1F2D #648D1F #1F8D7F #481F8D
split-complementary
#8D1F2D #1F8D48 #1F648D
monochromatic
#29090D #5B141D #8D1F2D #BF2A3D #D84E60

Accessibility & contrast

On white

8.87
#8D1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8D1F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F2D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F2D#FFFFFF#000000##FFFFFF
##8D1F2D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2D
Deuteranopia (green-blind)
#5B522A
Tritanopia (blue-blind)
#9B0025
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1f2d;
/* rgb */ color: rgb(141, 31, 45);
/* oklch */ color: oklch(42.7% 0.145 19.3);
Tailwind
colors: {
  custom: {
    50: '#b56565',
    500: '#8d1f2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f2d;
$custom-light: #b56565;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f2d",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 352.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42679,
    "c": 0.14455,
    "h": 19.3
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#8D1F2D
secondary
#4DBBAD
accent
#E7D241
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #8D1F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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