#A87F9F#A87F9F

#A87F9F is a light, moderate pink. Relative luminance 0.260; OKLCH L 64.7% C 0.067 H 334.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A87F9F
RGBrgb(168, 127, 159)
HSLhsl(313, 19%, 58%)
HSVhsv(313, 24%, 66%)
CMYKcmyk(0%, 24.4%, 5.4%, 34.1%)
CIE-LABlab(58.04, 21.26, -10.93)
CIE-LCHlch(58.04, 23.90, 332.78°)
OKLaboklab(64.66% 0.0605 -0.0291)
OKLCHoklch(64.66% 0.067 334.3)
XYZxyz(29.9954, 26.0078, 36.2341)
Luminance0.2601 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87F9F #7FA888
analogous
#9C7FA8 #A87F9F #A87F8A
triadic
#A87F9F #9FA87F #7F9FA8
tetradic
#A87F9F #A89C7F #7FA888 #7F8AA8
square
#A87F9F #A89C7F #7FA888 #7F8AA8
split-complementary
#A87F9F #8AA87F #7FA89C
monochromatic
#674660 #8B5F81 #A87F9F #C1A3BA #DAC8D6

Accessibility & contrast

On white

3.39
#A87F9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#A87F9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87F9F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87F9F#FFFFFF#000000##000000
##A87F9F1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F88A0
Deuteranopia (green-blind)
#888E9E
Tritanopia (blue-blind)
#AC818A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a87f9f;
/* rgb */ color: rgb(168, 127, 159);
/* oklch */ color: oklch(64.7% 0.067 334.3);
Tailwind
colors: {
  custom: {
    50: '#c2a4bb',
    500: '#a87f9f',
    950: '#000000',
  },
}
SCSS
$custom: #a87f9f;
$custom-light: #c2a4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a87f9f",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 159
  },
  "hsl": {
    "h": 313.171,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64657,
    "c": 0.06711,
    "h": 334.3
  },
  "luminance": 0.26007
}

Semantic roles & 50–950 ramp

primary
#A87F9F
secondary
#B9CABD
accent
#BC7E6C
background
#FBFAFB
surface
#F7F4F6
border
#D0CED0
text
#120F11
muted
#817F80

Preview Lab

Preview with #A87F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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