#8A342F#8A342F

#8A342F is a dark, moderate red. Relative luminance 0.081; OKLCH L 44.6% C 0.119 H 26.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8A342F
RGBrgb(138, 52, 47)
HSLhsl(3, 49%, 36%)
HSVhsv(3, 66%, 54%)
CMYKcmyk(0%, 62.3%, 65.9%, 45.9%)
CIE-LABlab(34.12, 36.35, 22.21)
CIE-LCHlch(34.12, 42.59, 31.43°)
OKLaboklab(44.6% 0.1064 0.0527)
OKLCHoklch(44.6% 0.119 26.3)
XYZxyz(12.2235, 8.0661, 3.6020)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A342F #2F858A
analogous
#8A2F58 #8A342F #8A622F
triadic
#8A342F #2F8A34 #342F8A
tetradic
#8A342F #588A2F #2F858A #622F8A
square
#8A342F #588A2F #2F858A #622F8A
split-complementary
#8A342F #2F8A62 #2F588A
monochromatic
#2F1210 #5C231F #8A342F #B8453F #CC6D68

Accessibility & contrast

On white

8.04
#8A342F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A342F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A342F#FFFFFF#000000##FFFFFF
##8A342F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A452E
Deuteranopia (green-blind)
#60572D
Tritanopia (blue-blind)
#972233
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a342f;
/* rgb */ color: rgb(138, 52, 47);
/* oklch */ color: oklch(44.6% 0.119 26.3);
Tailwind
colors: {
  custom: {
    50: '#b26f67',
    500: '#8a342f',
    950: '#000000',
  },
}
SCSS
$custom: #8a342f;
$custom-light: #b26f67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a342f",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 3.297,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44599,
    "c": 0.11873,
    "h": 26.3
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

primary
#8A342F
secondary
#62AEB3
accent
#D1D94F
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120806
muted
#817B7A

Preview Lab

Preview with #8A342F

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

Preview Lab → · Contrast checker → · Palette generator →

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