#8A5742#8A5742

#8A5742 is a mid, moderate orange. Relative luminance 0.126; OKLCH L 50.9% C 0.075 H 43.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A5742
RGBrgb(138, 87, 66)
HSLhsl(18, 35%, 40%)
HSVhsv(18, 52%, 54%)
CMYKcmyk(0%, 37%, 52.2%, 45.9%)
CIE-LABlab(42.18, 18.68, 20.94)
CIE-LCHlch(42.18, 28.06, 48.26°)
OKLaboklab(50.85% 0.055 0.0514)
OKLCHoklch(50.85% 0.075 43.1)
XYZxyz(14.8737, 12.6143, 6.8046)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5742 #42758A
analogous
#8A4251 #8A5742 #8A7B42
triadic
#8A5742 #428A57 #57428A
tetradic
#8A5742 #518A42 #42758A #7B428A
square
#8A5742 #518A42 #42758A #7B428A
split-complementary
#8A5742 #428A7B #42518A
monochromatic
#37231A #613D2E #8A5742 #B07359 #C49683

Accessibility & contrast

On white

5.96
#8A5742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A5742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5742
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5742#FFFFFF#000000##FFFFFF
##8A57421.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D40
Deuteranopia (green-blind)
#706842
Tritanopia (blue-blind)
#954E52
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a5742;
/* rgb */ color: rgb(138, 87, 66);
/* oklch */ color: oklch(50.9% 0.075 43.1);
Tailwind
colors: {
  custom: {
    50: '#af8676',
    500: '#8a5742',
    950: '#000000',
  },
}
SCSS
$custom: #8a5742;
$custom-light: #af8676;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5742",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 66
  },
  "hsl": {
    "h": 17.5,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.50852,
    "c": 0.07523,
    "h": 43.1
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#8A5742
secondary
#799FAE
accent
#ABCB5C
background
#FBF8F7
surface
#F6EFED
border
#D0CAC8
text
#110B08
muted
#807C7B

Preview Lab

Preview with #8A5742

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

Preview Lab → · Contrast checker → · Palette generator →

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