#98787A#98787A

#98787A is a mid, muted red. Relative luminance 0.215; OKLCH L 60.4% C 0.040 H 14.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#98787A
RGBrgb(152, 120, 122)
HSLhsl(356, 13%, 53%)
HSVhsv(356, 21%, 60%)
CMYKcmyk(0%, 21.1%, 19.7%, 40.4%)
CIE-LABlab(53.51, 12.78, 3.67)
CIE-LCHlch(53.51, 13.29, 16.01°)
OKLaboklab(60.41% 0.0389 0.0098)
OKLCHoklch(60.41% 0.04 14.1)
XYZxyz(23.1783, 21.5144, 21.3403)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98787A #789896
analogous
#98788A #98787A #988678
triadic
#98787A #7A9878 #787A98
tetradic
#98787A #8A9878 #789896 #867898
square
#98787A #8A9878 #789896 #867898
split-complementary
#98787A #789886 #788A98
monochromatic
#554142 #785B5D #98787A #B29B9C #CDBDBE

Accessibility & contrast

On white

3.96
#98787A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#98787A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98787A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98787A#FFFFFF#000000##000000
##98787A1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7C7A
Deuteranopia (green-blind)
#84827A
Tritanopia (blue-blind)
#9F7579
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #98787a;
/* rgb */ color: rgb(152, 120, 122);
/* oklch */ color: oklch(60.4% 0.040 14.1);
Tailwind
colors: {
  custom: {
    50: '#b79fa0',
    500: '#98787a',
    950: '#000000',
  },
}
SCSS
$custom: #98787a;
$custom-light: #b79fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#98787a",
  "rgb": {
    "r": 152,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 356.25,
    "s": 13.445,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60407,
    "c": 0.04011,
    "h": 14.1
  },
  "luminance": 0.21513
}

Semantic roles & 50–950 ramp

primary
#98787A
secondary
#AFBDBC
accent
#B6B272
background
#FBF9F9
surface
#F6F2F2
border
#D0CCCC
text
#110E0E
muted
#807E7E

Preview Lab

Preview with #98787A

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

Preview Lab → · Contrast checker → · Palette generator →

#98787A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva