#8D787E#8D787E

#8D787E is a mid, muted pink. Relative luminance 0.206; OKLCH L 59.4% C 0.027 H 358.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8D787E
RGBrgb(141, 120, 126)
HSLhsl(343, 8%, 51%)
HSVhsv(343, 15%, 55%)
CMYKcmyk(0%, 14.9%, 10.6%, 44.7%)
CIE-LABlab(52.51, 9.18, -0.26)
CIE-LCHlch(52.51, 9.19, 358.38°)
OKLaboklab(59.41% 0.0274 -0.0005)
OKLCHoklch(59.41% 0.027 358.8)
XYZxyz(21.4666, 20.6025, 22.5805)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D787E #788D87
analogous
#8D7888 #8D787E #8D7C78
triadic
#8D787E #7E8D78 #787E8D
tetradic
#8D787E #888D78 #788D87 #7C788D
square
#8D787E #888D78 #788D87 #7C788D
split-complementary
#8D787E #788D7C #78888D
monochromatic
#4B3F43 #6C5B60 #8D787E #A9999E #C5BABD

Accessibility & contrast

On white

4.10
#8D787E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8D787E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D787E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D787E#FFFFFF#000000##000000
##8D787E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7B7E
Deuteranopia (green-blind)
#7F7F7E
Tritanopia (blue-blind)
#91777A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d787e;
/* rgb */ color: rgb(141, 120, 126);
/* oklch */ color: oklch(59.4% 0.027 358.8);
Tailwind
colors: {
  custom: {
    50: '#ae9fa3',
    500: '#8d787e',
    950: '#000000',
  },
}
SCSS
$custom: #8d787e;
$custom-light: #ae9fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d787e",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 342.857,
    "s": 8.434,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59411,
    "c": 0.02737,
    "h": 358.8
  },
  "luminance": 0.20602
}

Semantic roles & 50–950 ramp

primary
#8D787E
secondary
#ACB5B2
accent
#B1A176
background
#FAF9FA
surface
#F4F2F3
border
#CECCCD
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8D787E

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

Preview Lab → · Contrast checker → · Palette generator →

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