#8A5240#8A5240

#8A5240 is a mid, moderate red. Relative luminance 0.118; OKLCH L 49.9% C 0.081 H 38.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A5240
RGBrgb(138, 82, 64)
HSLhsl(15, 37%, 40%)
HSVhsv(15, 54%, 54%)
CMYKcmyk(0%, 40.6%, 53.6%, 45.9%)
CIE-LABlab(40.91, 21.40, 20.49)
CIE-LCHlch(40.91, 29.62, 43.76°)
OKLaboklab(49.87% 0.063 0.0502)
OKLCHoklch(49.87% 0.081 38.6)
XYZxyz(14.4249, 11.8093, 6.3692)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5240 #40788A
analogous
#8A4053 #8A5240 #8A7740
triadic
#8A5240 #408A52 #52408A
tetradic
#8A5240 #538A40 #40788A #77408A
square
#8A5240 #538A40 #40788A #77408A
split-complementary
#8A5240 #408A77 #40538A
monochromatic
#362019 #60392D #8A5240 #B16C56 #C49180

Accessibility & contrast

On white

6.25
#8A5240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8A5240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5240
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5240#FFFFFF#000000##FFFFFF
##8A52401.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60593E
Deuteranopia (green-blind)
#6D653F
Tritanopia (blue-blind)
#96494D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a5240;
/* rgb */ color: rgb(138, 82, 64);
/* oklch */ color: oklch(49.9% 0.081 38.6);
Tailwind
colors: {
  custom: {
    50: '#af8375',
    500: '#8a5240',
    950: '#000000',
  },
}
SCSS
$custom: #8a5240;
$custom-light: #af8375;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5240",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 64
  },
  "hsl": {
    "h": 14.595,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49866,
    "c": 0.08052,
    "h": 38.6
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#8A5240
secondary
#77A1AF
accent
#B1CD5B
background
#FBF8F7
surface
#F6EFED
border
#D0CAC8
text
#110A08
muted
#807C7B

Preview Lab

Preview with #8A5240

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

Preview Lab → · Contrast checker → · Palette generator →

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