#8A474D#8A474D

#8A474D is a mid, moderate red. Relative luminance 0.104; OKLCH L 48.2% C 0.091 H 15.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A474D
RGBrgb(138, 71, 77)
HSLhsl(355, 32%, 41%)
HSVhsv(355, 49%, 54%)
CMYKcmyk(0%, 48.6%, 44.2%, 45.9%)
CIE-LABlab(38.63, 29.04, 9.41)
CIE-LCHlch(38.63, 30.53, 17.95°)
OKLaboklab(48.22% 0.0878 0.0242)
OKLCHoklch(48.22% 0.091 15.4)
XYZxyz(14.0748, 10.4469, 8.2949)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A474D #478A84
analogous
#8A476E #8A474D #8A6247
triadic
#8A474D #4D8A47 #474D8A
tetradic
#8A474D #6E8A47 #478A84 #62478A
square
#8A474D #6E8A47 #478A84 #62478A
split-complementary
#8A474D #478A62 #476E8A
monochromatic
#391D20 #623236 #8A474D #AE6168 #C2898E

Accessibility & contrast

On white

6.80
#8A474D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A474D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A474D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A474D#FFFFFF#000000##FFFFFF
##8A474D1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534D
Deuteranopia (green-blind)
#65604C
Tritanopia (blue-blind)
#953F49
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a474d;
/* rgb */ color: rgb(138, 71, 77);
/* oklch */ color: oklch(48.2% 0.091 15.4);
Tailwind
colors: {
  custom: {
    50: '#af7c7e',
    500: '#8a474d',
    950: '#000000',
  },
}
SCSS
$custom: #8a474d;
$custom-light: #af7c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a474d",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 77
  },
  "hsl": {
    "h": 354.627,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48216,
    "c": 0.09105,
    "h": 15.4
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#8A474D
secondary
#7FAEAA
accent
#C8BF60
background
#FBF7F7
surface
#F6EEEE
border
#D0C9C9
text
#11090A
muted
#807B7C

Preview Lab

Preview with #8A474D

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

Preview Lab → · Contrast checker → · Palette generator →

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