#8D1F17#8D1F17

#8D1F17 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.147 H 29.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8D1F17
RGBrgb(141, 31, 23)
HSLhsl(4, 72%, 32%)
HSVhsv(4, 84%, 55%)
CMYKcmyk(0%, 78%, 83.7%, 44.7%)
CIE-LABlab(31.13, 45.09, 33.39)
CIE-LCHlch(31.13, 56.11, 36.52°)
OKLaboklab(42.36% 0.1284 0.0713)
OKLCHoklch(42.36% 0.147 29.1)
XYZxyz(11.6306, 6.7064, 1.4925)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F17 #17858D
analogous
#8D174A #8D1F17 #8D5A17
triadic
#8D1F17 #178D1F #1F178D
tetradic
#8D1F17 #4A8D17 #17858D #5A178D
square
#8D1F17 #4A8D17 #17858D #5A178D
split-complementary
#8D1F17 #178D5A #174A8D
monochromatic
#240806 #58130E #8D1F17 #C22B20 #E04A3F

Accessibility & contrast

On white

8.97
#8D1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8D1F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F17
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F17#FFFFFF#000000##FFFFFF
##8D1F171.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A15
Deuteranopia (green-blind)
#5C5211
Tritanopia (blue-blind)
#9C001E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1f17;
/* rgb */ color: rgb(141, 31, 23);
/* oklch */ color: oklch(42.4% 0.147 29.1);
Tailwind
colors: {
  custom: {
    50: '#b76555',
    500: '#8d1f17',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f17;
$custom-light: #b76555;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f17",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 4.068,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42363,
    "c": 0.14688,
    "h": 29.1
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#8D1F17
secondary
#40B7C0
accent
#E2EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8D1F17

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

Preview Lab → · Contrast checker → · Palette generator →

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