#8D1F28#8D1F28

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

Color values

HEX#8D1F28
RGBrgb(141, 31, 40)
HSLhsl(355, 64%, 34%)
HSVhsv(355, 78%, 55%)
CMYKcmyk(0%, 78%, 71.6%, 44.7%)
CIE-LABlab(31.34, 45.79, 23.34)
CIE-LCHlch(31.34, 51.39, 27.01°)
OKLaboklab(42.59% 0.1344 0.054)
OKLCHoklch(42.59% 0.145 21.9)
XYZxyz(11.8588, 6.7977, 2.6947)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F28 #1F8D84
analogous
#8D1F5F #8D1F28 #8D4D1F
triadic
#8D1F28 #288D1F #1F288D
tetradic
#8D1F28 #5F8D1F #1F8D84 #4D1F8D
square
#8D1F28 #5F8D1F #1F8D84 #4D1F8D
split-complementary
#8D1F28 #1F8D4D #1F5F8D
monochromatic
#29090C #5B141A #8D1F28 #BF2A36 #D84E5A

Accessibility & contrast

On white

8.90
#8D1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F28
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F28#FFFFFF#000000##FFFFFF
##8D1F281.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1f28;
/* rgb */ color: rgb(141, 31, 40);
/* oklch */ color: oklch(42.6% 0.145 21.9);
Tailwind
colors: {
  custom: {
    50: '#b66562',
    500: '#8d1f28',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f28;
$custom-light: #b66562;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f28",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 355.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4259,
    "c": 0.14484,
    "h": 21.9
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#8D1F28
secondary
#4DBBB2
accent
#E7D941
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8D1F28

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

Preview Lab → · Contrast checker → · Palette generator →

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