#97787F#97787F

#97787F is a mid, muted red. Relative luminance 0.215; OKLCH L 60.5% C 0.040 H 3.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#97787F
RGBrgb(151, 120, 127)
HSLhsl(346, 13%, 53%)
HSVhsv(346, 21%, 59%)
CMYKcmyk(0%, 20.5%, 15.9%, 40.8%)
CIE-LABlab(53.54, 13.22, 0.78)
CIE-LCHlch(53.54, 13.25, 3.37°)
OKLaboklab(60.45% 0.0397 0.0022)
OKLCHoklch(60.45% 0.04 3.2)
XYZxyz(23.3097, 21.5454, 23.0054)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97787F #789790
analogous
#97788E #97787F #978078
triadic
#97787F #7F9778 #787F97
tetradic
#97787F #8E9778 #789790 #807897
square
#97787F #8E9778 #789790 #807897
split-complementary
#97787F #789780 #788E97
monochromatic
#544145 #775B61 #97787F #B29BA0 #CCBDC1

Accessibility & contrast

On white

3.96
#97787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#97787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97787F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97787F#FFFFFF#000000##000000
##97787F1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7D7F
Deuteranopia (green-blind)
#83827E
Tritanopia (blue-blind)
#9D767A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #97787f;
/* rgb */ color: rgb(151, 120, 127);
/* oklch */ color: oklch(60.5% 0.040 3.2);
Tailwind
colors: {
  custom: {
    50: '#b69fa4',
    500: '#97787f',
    950: '#000000',
  },
}
SCSS
$custom: #97787f;
$custom-light: #b69fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#97787f",
  "rgb": {
    "r": 151,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 346.452,
    "s": 12.971,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60454,
    "c": 0.0398,
    "h": 3.2
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#97787F
secondary
#AFBCB9
accent
#B6A772
background
#FBF9FA
surface
#F6F2F4
border
#D0CCCE
text
#110E0F
muted
#807E7F

Preview Lab

Preview with #97787F

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

Preview Lab → · Contrast checker → · Palette generator →

#97787F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva