#8A342C#8A342C

#8A342C is a dark, moderate red. Relative luminance 0.080; OKLCH L 44.5% C 0.119 H 28.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8A342C
RGBrgb(138, 52, 44)
HSLhsl(5, 52%, 36%)
HSVhsv(5, 68%, 54%)
CMYKcmyk(0%, 62.3%, 68.1%, 45.9%)
CIE-LABlab(34.07, 36.15, 24.01)
CIE-LCHlch(34.07, 43.40, 33.59°)
OKLaboklab(44.55% 0.1052 0.0563)
OKLCHoklch(44.55% 0.119 28.1)
XYZxyz(12.1650, 8.0427, 3.2942)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A342C #2C828A
analogous
#8A2C53 #8A342C #8A632C
triadic
#8A342C #2C8A34 #342C8A
tetradic
#8A342C #538A2C #2C828A #632C8A
square
#8A342C #538A2C #2C828A #632C8A
split-complementary
#8A342C #2C8A63 #2C538A
monochromatic
#2D110E #5C231D #8A342C #B8453B #CD6C63

Accessibility & contrast

On white

8.05
#8A342C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A342C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A342C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A342C#FFFFFF#000000##FFFFFF
##8A342C1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B442B
Deuteranopia (green-blind)
#60572A
Tritanopia (blue-blind)
#982233
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a342c;
/* rgb */ color: rgb(138, 52, 44);
/* oklch */ color: oklch(44.5% 0.119 28.1);
Tailwind
colors: {
  custom: {
    50: '#b26f65',
    500: '#8a342c',
    950: '#000000',
  },
}
SCSS
$custom: #8a342c;
$custom-light: #b26f65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a342c",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 5.106,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44547,
    "c": 0.1193,
    "h": 28.1
  },
  "luminance": 0.08041
}

Semantic roles & 50–950 ramp

primary
#8A342C
secondary
#5EACB4
accent
#CFDB4D
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120805
muted
#817B7A

Preview Lab

Preview with #8A342C

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

Preview Lab → · Contrast checker → · Palette generator →

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