#8A5342#8A5342

#8A5342 is a mid, moderate red. Relative luminance 0.120; OKLCH L 50.1% C 0.079 H 37.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A5342
RGBrgb(138, 83, 66)
HSLhsl(14, 35%, 40%)
HSVhsv(14, 52%, 54%)
CMYKcmyk(0%, 39.9%, 52.2%, 45.9%)
CIE-LABlab(41.19, 21.01, 19.65)
CIE-LCHlch(41.19, 28.77, 43.08°)
OKLaboklab(50.09% 0.062 0.0484)
OKLCHoklch(50.09% 0.079 37.9)
XYZxyz(14.5587, 11.9844, 6.6997)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5342 #42798A
analogous
#8A4255 #8A5342 #8A7742
triadic
#8A5342 #428A53 #53428A
tetradic
#8A5342 #558A42 #42798A #77428A
square
#8A5342 #558A42 #42798A #77428A
split-complementary
#8A5342 #428A77 #42558A
monochromatic
#37211A #613A2E #8A5342 #B06E59 #C49283

Accessibility & contrast

On white

6.18
#8A5342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A5342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5342
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5342#FFFFFF#000000##FFFFFF
##8A53421.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A41
Deuteranopia (green-blind)
#6E6641
Tritanopia (blue-blind)
#954A4F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a5342;
/* rgb */ color: rgb(138, 83, 66);
/* oklch */ color: oklch(50.1% 0.079 37.9);
Tailwind
colors: {
  custom: {
    50: '#af8476',
    500: '#8a5342',
    950: '#000000',
  },
}
SCSS
$custom: #8a5342;
$custom-light: #af8476;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5342",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 14.167,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.07867,
    "h": 37.9
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#8A5342
secondary
#79A2AE
accent
#B1CB5C
background
#FBF8F7
surface
#F6EFED
border
#D0CAC8
text
#110B08
muted
#807C7B

Preview Lab

Preview with #8A5342

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

Preview Lab → · Contrast checker → · Palette generator →

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