#8D1F22#8D1F22

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

Color values

HEX#8D1F22
RGBrgb(141, 31, 34)
HSLhsl(358, 64%, 34%)
HSVhsv(358, 78%, 55%)
CMYKcmyk(0%, 78%, 75.9%, 44.7%)
CIE-LABlab(31.25, 45.50, 27.01)
CIE-LCHlch(31.25, 52.91, 30.70°)
OKLaboklab(42.5% 0.1321 0.0608)
OKLCHoklch(42.5% 0.145 24.7)
XYZxyz(11.7646, 6.7600, 2.1984)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F22 #1F8D8A
analogous
#8D1F59 #8D1F22 #8D531F
triadic
#8D1F22 #228D1F #1F228D
tetradic
#8D1F22 #598D1F #1F8D8A #531F8D
square
#8D1F22 #598D1F #1F8D8A #531F8D
split-complementary
#8D1F22 #1F8D53 #1F598D
monochromatic
#29090A #5B1416 #8D1F22 #BF2A2E #D84E52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1F22#FFFFFF#000000##FFFFFF
##8D1F221.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)
#403A21
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#9C0021
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1f22;
/* rgb */ color: rgb(141, 31, 34);
/* oklch */ color: oklch(42.5% 0.145 24.7);
Tailwind
colors: {
  custom: {
    50: '#b6655d',
    500: '#8d1f22',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f22;
$custom-light: #b6655d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f22",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42496,
    "c": 0.14543,
    "h": 24.7
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#8D1F22
secondary
#4DBBB8
accent
#E7E241
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8D1F22

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

Preview Lab → · Contrast checker → · Palette generator →

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