#8A5147#8A5147

#8A5147 is a mid, moderate red. Relative luminance 0.117; OKLCH L 49.8% C 0.079 H 30.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8A5147
RGBrgb(138, 81, 71)
HSLhsl(9, 32%, 41%)
HSVhsv(9, 49%, 54%)
CMYKcmyk(0%, 41.3%, 48.6%, 45.9%)
CIE-LABlab(40.81, 22.69, 16.10)
CIE-LCHlch(40.81, 27.82, 35.37°)
OKLaboklab(49.83% 0.0677 0.0403)
OKLCHoklch(49.83% 0.079 30.7)
XYZxyz(14.5618, 11.7444, 7.4600)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5147 #47808A
analogous
#8A475E #8A5147 #8A7247
triadic
#8A5147 #478A51 #51478A
tetradic
#8A5147 #5E8A47 #47808A #72478A
square
#8A5147 #5E8A47 #47808A #72478A
split-complementary
#8A5147 #478A72 #475E8A
monochromatic
#39221D #623932 #8A5147 #AE6C61 #C29289

Accessibility & contrast

On white

6.27
#8A5147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8A5147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5147
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5147#FFFFFF#000000##FFFFFF
##8A51471.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5946
Deuteranopia (green-blind)
#6C6546
Tritanopia (blue-blind)
#95494F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a5147;
/* rgb */ color: rgb(138, 81, 71);
/* oklch */ color: oklch(49.8% 0.079 30.7);
Tailwind
colors: {
  custom: {
    50: '#af827a',
    500: '#8a5147',
    950: '#000000',
  },
}
SCSS
$custom: #8a5147;
$custom-light: #af827a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5147",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 71
  },
  "hsl": {
    "h": 8.955,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.0788,
    "h": 30.7
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#8A5147
secondary
#7FA7AE
accent
#B9C860
background
#FBF8F7
surface
#F6EFED
border
#D0CAC8
text
#110A09
muted
#807C7B

Preview Lab

Preview with #8A5147

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

Preview Lab → · Contrast checker → · Palette generator →

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