#8E342A#8E342A

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

Color values

HEX#8E342A
RGBrgb(142, 52, 42)
HSLhsl(6, 54%, 36%)
HSVhsv(6, 70%, 56%)
CMYKcmyk(0%, 63.4%, 70.4%, 44.3%)
CIE-LABlab(34.75, 37.54, 26.22)
CIE-LCHlch(34.75, 45.79, 34.94°)
OKLaboklab(45.19% 0.1087 0.0607)
OKLCHoklch(45.19% 0.124 29.2)
XYZxyz(12.8025, 8.3757, 3.1326)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E342A #2A848E
analogous
#8E2A52 #8E342A #8E662A
triadic
#8E342A #2A8E34 #342A8E
tetradic
#8E342A #528E2A #2A848E #662A8E
square
#8E342A #528E2A #2A848E #662A8E
split-complementary
#8E342A #2A8E66 #2A528E
monochromatic
#30110E #5F231C #8E342A #BD4538 #D16D62

Accessibility & contrast

On white

7.85
#8E342A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E342A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E342A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E342A#FFFFFF#000000##FFFFFF
##8E342A1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4528
Deuteranopia (green-blind)
#635927
Tritanopia (blue-blind)
#9C2032
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e342a;
/* rgb */ color: rgb(142, 52, 42);
/* oklch */ color: oklch(45.2% 0.124 29.2);
Tailwind
colors: {
  custom: {
    50: '#b57064',
    500: '#8e342a',
    950: '#000000',
  },
}
SCSS
$custom: #8e342a;
$custom-light: #b57064;
$custom-dark: #000000;
JSON
{
  "hex": "#8e342a",
  "rgb": {
    "r": 142,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45187,
    "c": 0.12444,
    "h": 29.2
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#8E342A
secondary
#5DAEB6
accent
#CFDE4A
background
#FBF6F5
surface
#F7ECEA
border
#D0C7C6
text
#120805
muted
#817B79

Preview Lab

Preview with #8E342A

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

Preview Lab → · Contrast checker → · Palette generator →

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