#8D4040#8D4040

#8D4040 is a mid, moderate red. Relative luminance 0.097; OKLCH L 47.2% C 0.105 H 21.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8D4040
RGBrgb(141, 64, 64)
HSLhsl(0, 38%, 40%)
HSVhsv(0, 55%, 55%)
CMYKcmyk(0%, 54.6%, 54.6%, 44.7%)
CIE-LABlab(37.30, 32.70, 15.80)
CIE-LCHlch(37.30, 36.31, 25.79°)
OKLaboklab(47.2% 0.0976 0.0392)
OKLCHoklch(47.2% 0.105 21.9)
XYZxyz(13.7444, 9.7012, 5.9982)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4040 #408D8D
analogous
#8D4066 #8D4040 #8D6640
triadic
#8D4040 #408D40 #40408D
tetradic
#8D4040 #668D40 #408D8D #66408D
square
#8D4040 #668D40 #408D8D #66408D
split-complementary
#8D4040 #408D66 #40668D
monochromatic
#391A1A #632D2D #8D4040 #B35757 #C68181

Accessibility & contrast

On white

7.14
#8D4040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D4040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D4040
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4040#FFFFFF#000000##FFFFFF
##8D40401.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E3F
Deuteranopia (green-blind)
#655E3E
Tritanopia (blue-blind)
#9A3441
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d4040;
/* rgb */ color: rgb(141, 64, 64);
/* oklch */ color: oklch(47.2% 0.105 21.9);
Tailwind
colors: {
  custom: {
    50: '#b27774',
    500: '#8d4040',
    950: '#000000',
  },
}
SCSS
$custom: #8d4040;
$custom-light: #b27774;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4040",
  "rgb": {
    "r": 141,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.10516,
    "h": 21.9
  },
  "luminance": 0.097
}

Semantic roles & 50–950 ramp

primary
#8D4040
secondary
#78B0B0
accent
#CECE5A
background
#FBF7F7
surface
#F6EDED
border
#D0C8C8
text
#110908
muted
#807B7B

Preview Lab

Preview with #8D4040

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

Preview Lab → · Contrast checker → · Palette generator →

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