#8A342A#8A342A

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

Color values

HEX#8A342A
RGBrgb(138, 52, 42)
HSLhsl(6, 53%, 35%)
HSVhsv(6, 70%, 54%)
CMYKcmyk(0%, 62.3%, 69.6%, 45.9%)
CIE-LABlab(34.04, 36.03, 25.20)
CIE-LCHlch(34.04, 43.97, 34.97°)
OKLaboklab(44.51% 0.1044 0.0586)
OKLCHoklch(44.51% 0.12 29.3)
XYZxyz(12.1283, 8.0281, 3.1010)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A342A #2A808A
analogous
#8A2A50 #8A342A #8A642A
triadic
#8A342A #2A8A34 #342A8A
tetradic
#8A342A #508A2A #2A808A #642A8A
square
#8A342A #508A2A #2A808A #642A8A
split-complementary
#8A342A #2A8A64 #2A508A
monochromatic
#2C110D #5B221C #8A342A #B94638 #CF6B60

Accessibility & contrast

On white

8.06
#8A342A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A342A
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A342A#FFFFFF#000000##FFFFFF
##8A342A1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4429
Deuteranopia (green-blind)
#605728
Tritanopia (blue-blind)
#982132
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a342a;
/* rgb */ color: rgb(138, 52, 42);
/* oklch */ color: oklch(44.5% 0.120 29.3);
Tailwind
colors: {
  custom: {
    50: '#b26f64',
    500: '#8a342a',
    950: '#000000',
  },
}
SCSS
$custom: #8a342a;
$custom-light: #b26f64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a342a",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 6.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44514,
    "c": 0.11972,
    "h": 29.3
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#8A342A
secondary
#5BABB4
accent
#CEDD4B
background
#FBF6F5
surface
#F6ECEA
border
#D0C7C6
text
#120705
muted
#817A79

Preview Lab

Preview with #8A342A

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

Preview Lab → · Contrast checker → · Palette generator →

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