#8A5840#8A5840

#8A5840 is a mid, moderate orange. Relative luminance 0.128; OKLCH L 51.0% C 0.076 H 46.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A5840
RGBrgb(138, 88, 64)
HSLhsl(19, 37%, 40%)
HSVhsv(19, 54%, 54%)
CMYKcmyk(0%, 36.2%, 53.6%, 45.9%)
CIE-LABlab(42.39, 17.90, 22.40)
CIE-LCHlch(42.39, 28.67, 51.37°)
OKLaboklab(51.01% 0.0524 0.0546)
OKLCHoklch(51.01% 0.076 46.2)
XYZxyz(14.8972, 12.7541, 6.5267)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5840 #40728A
analogous
#8A404D #8A5840 #8A7D40
triadic
#8A5840 #408A58 #58408A
tetradic
#8A5840 #4D8A40 #40728A #7D408A
square
#8A5840 #4D8A40 #40728A #7D408A
split-complementary
#8A5840 #408A7D #404D8A
monochromatic
#362319 #603D2D #8A5840 #B17456 #C49680

Accessibility & contrast

On white

5.91
#8A5840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8A5840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5840
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5840#FFFFFF#000000##FFFFFF
##8A58401.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655E3E
Deuteranopia (green-blind)
#716840
Tritanopia (blue-blind)
#954F52
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a5840;
/* rgb */ color: rgb(138, 88, 64);
/* oklch */ color: oklch(51.0% 0.076 46.2);
Tailwind
colors: {
  custom: {
    50: '#af8775',
    500: '#8a5840',
    950: '#000000',
  },
}
SCSS
$custom: #8a5840;
$custom-light: #af8775;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5840",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 64
  },
  "hsl": {
    "h": 19.459,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.07564,
    "h": 46.2
  },
  "luminance": 0.12753
}

Semantic roles & 50–950 ramp

primary
#8A5840
secondary
#779DAF
accent
#A8CD5B
background
#FBF8F7
surface
#F6EFED
border
#D0CAC8
text
#110B08
muted
#807C7B

Preview Lab

Preview with #8A5840

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

Preview Lab → · Contrast checker → · Palette generator →

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