#8A5040#8A5040

#8A5040 is a mid, moderate red. Relative luminance 0.115; OKLCH L 49.5% C 0.082 H 36.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8A5040
RGBrgb(138, 80, 64)
HSLhsl(13, 37%, 40%)
HSVhsv(13, 54%, 54%)
CMYKcmyk(0%, 42%, 53.6%, 45.9%)
CIE-LABlab(40.43, 22.55, 19.86)
CIE-LCHlch(40.43, 30.05, 41.37°)
OKLaboklab(49.5% 0.0665 0.0488)
OKLCHoklch(49.5% 0.082 36.3)
XYZxyz(14.2762, 11.5121, 6.3197)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5040 #407A8A
analogous
#8A4055 #8A5040 #8A7540
triadic
#8A5040 #408A50 #50408A
tetradic
#8A5040 #558A40 #407A8A #75408A
square
#8A5040 #558A40 #407A8A #75408A
split-complementary
#8A5040 #408A75 #40558A
monochromatic
#362019 #60382D #8A5040 #B16A56 #C48F80

Accessibility & contrast

On white

6.36
#8A5040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A5040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5040
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5040#FFFFFF#000000##FFFFFF
##8A50401.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E583F
Deuteranopia (green-blind)
#6C643F
Tritanopia (blue-blind)
#96474C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a5040;
/* rgb */ color: rgb(138, 80, 64);
/* oklch */ color: oklch(49.5% 0.082 36.3);
Tailwind
colors: {
  custom: {
    50: '#af8275',
    500: '#8a5040',
    950: '#000000',
  },
}
SCSS
$custom: #8a5040;
$custom-light: #af8275;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5040",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 12.973,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49497,
    "c": 0.08244,
    "h": 36.3
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#8A5040
secondary
#77A3AF
accent
#B4CD5B
background
#FBF7F7
surface
#F6EEED
border
#D0C9C8
text
#110A08
muted
#807C7B

Preview Lab

Preview with #8A5040

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

Preview Lab → · Contrast checker → · Palette generator →

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