#8D1F2B#8D1F2B

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

Color values

HEX#8D1F2B
RGBrgb(141, 31, 43)
HSLhsl(353, 64%, 34%)
HSVhsv(353, 78%, 55%)
CMYKcmyk(0%, 78%, 69.5%, 44.7%)
CIE-LABlab(31.39, 45.95, 21.48)
CIE-LCHlch(31.39, 50.72, 25.05°)
OKLaboklab(42.64% 0.1356 0.0504)
OKLCHoklch(42.64% 0.145 20.4)
XYZxyz(11.9119, 6.8189, 2.9740)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F2B #1F8D81
analogous
#8D1F62 #8D1F2B #8D4A1F
triadic
#8D1F2B #2B8D1F #1F2B8D
tetradic
#8D1F2B #628D1F #1F8D81 #4A1F8D
square
#8D1F2B #628D1F #1F8D81 #4A1F8D
split-complementary
#8D1F2B #1F8D4A #1F628D
monochromatic
#29090C #5B141C #8D1F2B #BF2A3A #D84E5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1F2B#FFFFFF#000000##FFFFFF
##8D1F2B1.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)
#3F3B2B
Deuteranopia (green-blind)
#5B5228
Tritanopia (blue-blind)
#9B0025
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1f2b;
/* rgb */ color: rgb(141, 31, 43);
/* oklch */ color: oklch(42.6% 0.145 20.4);
Tailwind
colors: {
  custom: {
    50: '#b66564',
    500: '#8d1f2b',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f2b;
$custom-light: #b66564;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f2b",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 353.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42642,
    "c": 0.14464,
    "h": 20.4
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#8D1F2B
secondary
#4DBBAF
accent
#E7D541
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8D1F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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