#987271#987271

#987271 is a mid, muted red. Relative luminance 0.199; OKLCH L 59.0% C 0.048 H 20.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#987271
RGBrgb(152, 114, 113)
HSLhsl(2, 16%, 52%)
HSVhsv(2, 26%, 60%)
CMYKcmyk(0%, 25%, 25.7%, 40.4%)
CIE-LABlab(51.73, 14.82, 6.39)
CIE-LCHlch(51.73, 16.14, 23.32°)
OKLaboklab(58.95% 0.0453 0.0168)
OKLCHoklch(58.95% 0.048 20.4)
XYZxyz(21.9472, 19.9034, 18.3053)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987271 #719798
analogous
#987184 #987271 #988671
triadic
#987271 #719872 #727198
tetradic
#987271 #849871 #719798 #867198
square
#987271 #849871 #719798 #867198
split-complementary
#987271 #719886 #718498
monochromatic
#533D3C #765756 #987271 #B29594 #CBB8B8

Accessibility & contrast

On white

4.22
#987271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#987271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987271
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987271#FFFFFF#000000##000000
##9872711.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#797771
Deuteranopia (green-blind)
#827E70
Tritanopia (blue-blind)
#A06E72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #987271;
/* rgb */ color: rgb(152, 114, 113);
/* oklch */ color: oklch(59.0% 0.048 20.4);
Tailwind
colors: {
  custom: {
    50: '#b79a99',
    500: '#987271',
    950: '#000000',
  },
}
SCSS
$custom: #987271;
$custom-light: #b79a99;
$custom-dark: #000000;
JSON
{
  "hex": "#987271",
  "rgb": {
    "r": 152,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 1.538,
    "s": 15.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5895,
    "c": 0.0483,
    "h": 20.4
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#987271
secondary
#AABABB
accent
#B7B96F
background
#FBF9F9
surface
#F6F2F2
border
#D0CCCC
text
#110E0E
muted
#807E7E

Preview Lab

Preview with #987271

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

Preview Lab → · Contrast checker → · Palette generator →

#987271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva