#8E342D#8E342D

#8E342D is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.2% C 0.124 H 27.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8E342D
RGBrgb(142, 52, 45)
HSLhsl(4, 52%, 37%)
HSVhsv(4, 68%, 56%)
CMYKcmyk(0%, 63.4%, 68.3%, 44.3%)
CIE-LABlab(34.80, 37.72, 24.44)
CIE-LCHlch(34.80, 44.95, 32.95°)
OKLaboklab(45.24% 0.1098 0.0572)
OKLCHoklch(45.24% 0.124 27.5)
XYZxyz(12.8583, 8.3980, 3.4260)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E342D #2D878E
analogous
#8E2D57 #8E342D #8E652D
triadic
#8E342D #2D8E34 #342D8E
tetradic
#8E342D #578E2D #2D878E #652D8E
square
#8E342D #578E2D #2D878E #652D8E
split-complementary
#8E342D #2D8E65 #2D578E
monochromatic
#311210 #60231E #8E342D #BC453C #CF6E67

Accessibility & contrast

On white

7.84
#8E342D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E342D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E342D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E342D#FFFFFF#000000##FFFFFF
##8E342D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462C
Deuteranopia (green-blind)
#62592B
Tritanopia (blue-blind)
#9C2033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e342d;
/* rgb */ color: rgb(142, 52, 45);
/* oklch */ color: oklch(45.2% 0.124 27.5);
Tailwind
colors: {
  custom: {
    50: '#b57066',
    500: '#8e342d',
    950: '#000000',
  },
}
SCSS
$custom: #8e342d;
$custom-light: #b57066;
$custom-dark: #000000;
JSON
{
  "hex": "#8e342d",
  "rgb": {
    "r": 142,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 4.33,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.12384,
    "h": 27.5
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#8E342D
secondary
#61AFB5
accent
#D1DB4C
background
#FBF6F6
surface
#F7ECEB
border
#D0C7C6
text
#120806
muted
#817B7A

Preview Lab

Preview with #8E342D

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

Preview Lab → · Contrast checker → · Palette generator →

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