#8A7878#8A7878

#8A7878 is a mid, muted grey. Relative luminance 0.202; OKLCH L 58.9% C 0.022 H 17.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8A7878
RGBrgb(138, 120, 120)
HSLhsl(0, 7%, 51%)
HSVhsv(0, 13%, 54%)
CMYKcmyk(0%, 13%, 13%, 45.9%)
CIE-LABlab(52.05, 6.94, 2.56)
CIE-LCHlch(52.05, 7.40, 20.24°)
OKLaboklab(58.93% 0.0213 0.0068)
OKLCHoklch(58.93% 0.022 17.8)
XYZxyz(20.5877, 20.1928, 20.5787)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7878 #788A8A
analogous
#8A7881 #8A7878 #8A8178
triadic
#8A7878 #788A78 #78788A
tetradic
#8A7878 #818A78 #788A8A #81788A
square
#8A7878 #818A78 #788A8A #81788A
split-complementary
#8A7878 #788A81 #78818A
monochromatic
#493F3F #695B5B #8A7878 #A69999 #C3BABA

Accessibility & contrast

On white

4.17
#8A7878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8A7878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7878
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7878#FFFFFF#000000##000000
##8A78781.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7A78
Deuteranopia (green-blind)
#7F7D78
Tritanopia (blue-blind)
#8E7678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a7878;
/* rgb */ color: rgb(138, 120, 120);
/* oklch */ color: oklch(58.9% 0.022 17.8);
Tailwind
colors: {
  custom: {
    50: '#ac9f9e',
    500: '#8a7878',
    950: '#000000',
  },
}
SCSS
$custom: #8a7878;
$custom-light: #ac9f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7878",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 120
  },
  "hsl": {
    "h": 0,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58931,
    "c": 0.02236,
    "h": 17.8
  },
  "luminance": 0.20192
}

Semantic roles & 50–950 ramp

primary
#8A7878
secondary
#ABB3B3
accent
#B0B078
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E

Preview Lab

Preview with #8A7878

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

Preview Lab → · Contrast checker → · Palette generator →

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