#8A7271#8A7271

#8A7271 is a mid, muted red. Relative luminance 0.186; OKLCH L 57.5% C 0.030 H 20.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8A7271
RGBrgb(138, 114, 113)
HSLhsl(2, 10%, 49%)
HSVhsv(2, 18%, 54%)
CMYKcmyk(0%, 17.4%, 18.1%, 45.9%)
CIE-LABlab(50.25, 9.22, 4.08)
CIE-LCHlch(50.25, 10.08, 23.86°)
OKLaboklab(57.46% 0.0283 0.0108)
OKLCHoklch(57.46% 0.03 20.9)
XYZxyz(19.4792, 18.6308, 18.1896)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7271 #71898A
analogous
#8A717D #8A7271 #8A7F71
triadic
#8A7271 #718A72 #72718A
tetradic
#8A7271 #7D8A71 #71898A #7F718A
square
#8A7271 #7D8A71 #71898A #7F718A
split-complementary
#8A7271 #718A7F #717D8A
monochromatic
#473A3A #685655 #8A7271 #A69392 #C2B4B4

Accessibility & contrast

On white

4.44
#8A7271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8A7271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7271
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7271#FFFFFF#000000##000000
##8A72711.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#767571
Deuteranopia (green-blind)
#7C7971
Tritanopia (blue-blind)
#8F7072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7271;
/* rgb */ color: rgb(138, 114, 113);
/* oklch */ color: oklch(57.5% 0.030 20.9);
Tailwind
colors: {
  custom: {
    50: '#ac9a99',
    500: '#8a7271',
    950: '#000000',
  },
}
SCSS
$custom: #8a7271;
$custom-light: #ac9a99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7271",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 2.4,
    "s": 9.96,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57464,
    "c": 0.03032,
    "h": 20.9
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#8A7271
secondary
#A6B1B1
accent
#B0B375
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E

Preview Lab

Preview with #8A7271

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

Preview Lab → · Contrast checker → · Palette generator →

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