#8E4040#8E4040

#8E4040 is a mid, moderate red. Relative luminance 0.098; OKLCH L 47.4% C 0.106 H 22.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8E4040
RGBrgb(142, 64, 64)
HSLhsl(0, 38%, 40%)
HSVhsv(0, 55%, 56%)
CMYKcmyk(0%, 54.9%, 54.9%, 44.3%)
CIE-LABlab(37.46, 33.09, 16.04)
CIE-LCHlch(37.46, 36.77, 25.87°)
OKLaboklab(47.36% 0.0987 0.0398)
OKLCHoklch(47.36% 0.106 22)
XYZxyz(13.9152, 9.7893, 6.0062)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4040 #408E8E
analogous
#8E4067 #8E4040 #8E6740
triadic
#8E4040 #408E40 #40408E
tetradic
#8E4040 #678E40 #408E8E #67408E
square
#8E4040 #678E40 #408E8E #67408E
split-complementary
#8E4040 #408E67 #40678E
monochromatic
#3A1A1A #642D2D #8E4040 #B45858 #C78282

Accessibility & contrast

On white

7.10
#8E4040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8E4040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E4040
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4040#FFFFFF#000000##FFFFFF
##8E40401.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e4040;
/* rgb */ color: rgb(142, 64, 64);
/* oklch */ color: oklch(47.4% 0.106 22.0);
Tailwind
colors: {
  custom: {
    50: '#b37774',
    500: '#8e4040',
    950: '#000000',
  },
}
SCSS
$custom: #8e4040;
$custom-light: #b37774;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4040",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.10641,
    "h": 22
  },
  "luminance": 0.09788
}

Semantic roles & 50–950 ramp

primary
#8E4040
secondary
#79B1B1
accent
#CECE5A
background
#FBF7F7
surface
#F6EDED
border
#D0C8C8
text
#120908
muted
#817B7B

Preview Lab

Preview with #8E4040

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

Preview Lab → · Contrast checker → · Palette generator →

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