#8A342B#8A342B

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

Color values

HEX#8A342B
RGBrgb(138, 52, 43)
HSLhsl(6, 52%, 35%)
HSVhsv(6, 69%, 54%)
CMYKcmyk(0%, 62.3%, 68.8%, 45.9%)
CIE-LABlab(34.06, 36.09, 24.61)
CIE-LCHlch(34.06, 43.68, 34.29°)
OKLaboklab(44.53% 0.1048 0.0574)
OKLCHoklch(44.53% 0.12 28.7)
XYZxyz(12.1465, 8.0353, 3.1964)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A342B #2B818A
analogous
#8A2B51 #8A342B #8A632B
triadic
#8A342B #2B8A34 #342B8A
tetradic
#8A342B #518A2B #2B818A #632B8A
square
#8A342B #518A2B #2B818A #632B8A
split-complementary
#8A342B #2B8A63 #2B518A
monochromatic
#2D110E #5B221C #8A342B #B9463A #CE6C61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A342B#FFFFFF#000000##FFFFFF
##8A342B1.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)
#4B442A
Deuteranopia (green-blind)
#605729
Tritanopia (blue-blind)
#982232
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a342b;
/* rgb */ color: rgb(138, 52, 43);
/* oklch */ color: oklch(44.5% 0.120 28.7);
Tailwind
colors: {
  custom: {
    50: '#b26f64',
    500: '#8a342b',
    950: '#000000',
  },
}
SCSS
$custom: #8a342b;
$custom-light: #b26f64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a342b",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 5.684,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4453,
    "c": 0.11951,
    "h": 28.7
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#8A342B
secondary
#5DACB4
accent
#CEDC4C
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120705
muted
#817A7A

Preview Lab

Preview with #8A342B

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

Preview Lab → · Contrast checker → · Palette generator →

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