#8D1F23#8D1F23

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

Color values

HEX#8D1F23
RGBrgb(141, 31, 35)
HSLhsl(358, 64%, 34%)
HSVhsv(358, 78%, 55%)
CMYKcmyk(0%, 78%, 75.2%, 44.7%)
CIE-LABlab(31.27, 45.54, 26.41)
CIE-LCHlch(31.27, 52.65, 30.11°)
OKLaboklab(42.51% 0.1325 0.0597)
OKLCHoklch(42.51% 0.145 24.3)
XYZxyz(11.7792, 6.7659, 2.2755)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F23 #1F8D89
analogous
#8D1F5A #8D1F23 #8D521F
triadic
#8D1F23 #238D1F #1F238D
tetradic
#8D1F23 #5A8D1F #1F8D89 #521F8D
square
#8D1F23 #5A8D1F #1F8D89 #521F8D
split-complementary
#8D1F23 #1F8D52 #1F5A8D
monochromatic
#29090A #5B1417 #8D1F23 #BF2A2F #D84E53

Accessibility & contrast

On white

8.93
#8D1F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F23
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F23#FFFFFF#000000##FFFFFF
##8D1F231.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A22
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#9C0022
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1f23;
/* rgb */ color: rgb(141, 31, 35);
/* oklch */ color: oklch(42.5% 0.145 24.3);
Tailwind
colors: {
  custom: {
    50: '#b6655e',
    500: '#8d1f23',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f23;
$custom-light: #b6655e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f23",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 357.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42511,
    "c": 0.14532,
    "h": 24.3
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#8D1F23
secondary
#4DBBB7
accent
#E7E141
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8D1F23

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

Preview Lab → · Contrast checker → · Palette generator →

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