#8A5142#8A5142

#8A5142 is a mid, moderate red. Relative luminance 0.117; OKLCH L 49.7% C 0.081 H 35.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A5142
RGBrgb(138, 81, 66)
HSLhsl(13, 35%, 40%)
HSVhsv(13, 52%, 54%)
CMYKcmyk(0%, 41.3%, 52.2%, 45.9%)
CIE-LABlab(40.71, 22.17, 19.01)
CIE-LCHlch(40.71, 29.21, 40.62°)
OKLaboklab(49.72% 0.0656 0.0469)
OKLCHoklch(49.72% 0.081 35.6)
XYZxyz(14.4079, 11.6828, 6.6494)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5142 #427B8A
analogous
#8A4257 #8A5142 #8A7542
triadic
#8A5142 #428A51 #51428A
tetradic
#8A5142 #578A42 #427B8A #75428A
square
#8A5142 #578A42 #427B8A #75428A
split-complementary
#8A5142 #428A75 #42578A
monochromatic
#37201A #61392E #8A5142 #B06B59 #C49083

Accessibility & contrast

On white

6.29
#8A5142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A5142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5142
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5142#FFFFFF#000000##FFFFFF
##8A51421.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5941
Deuteranopia (green-blind)
#6D6541
Tritanopia (blue-blind)
#96484D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a5142;
/* rgb */ color: rgb(138, 81, 66);
/* oklch */ color: oklch(49.7% 0.081 35.6);
Tailwind
colors: {
  custom: {
    50: '#af8276',
    500: '#8a5142',
    950: '#000000',
  },
}
SCSS
$custom: #8a5142;
$custom-light: #af8276;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5142",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 12.5,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.08062,
    "h": 35.6
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#8A5142
secondary
#79A3AE
accent
#B4CB5C
background
#FBF8F7
surface
#F6EFED
border
#D0CAC8
text
#110A08
muted
#807C7B

Preview Lab

Preview with #8A5142

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

Preview Lab → · Contrast checker → · Palette generator →

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