#A87F98#A87F98

#A87F98 is a light, moderate pink. Relative luminance 0.258; OKLCH L 64.4% C 0.061 H 341.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A87F98
RGBrgb(168, 127, 152)
HSLhsl(323, 19%, 58%)
HSVhsv(323, 24%, 66%)
CMYKcmyk(0%, 24.4%, 9.5%, 34.1%)
CIE-LABlab(57.82, 19.98, -7.24)
CIE-LCHlch(57.82, 21.25, 340.09°)
OKLaboklab(64.41% 0.058 -0.0191)
OKLCHoklch(64.41% 0.061 341.8)
XYZxyz(29.4051, 25.7716, 33.1252)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87F98 #7FA88F
analogous
#A47FA8 #A87F98 #A87F83
triadic
#A87F98 #98A87F #7F98A8
tetradic
#A87F98 #A8A47F #7FA88F #7F83A8
square
#A87F98 #A8A47F #7FA88F #7F83A8
split-complementary
#A87F98 #83A87F #7FA8A4
monochromatic
#67465A #8B5F7A #A87F98 #C1A3B5 #DAC8D3

Accessibility & contrast

On white

3.41
#A87F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A87F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87F98
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87F98#FFFFFF#000000##000000
##A87F981.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#818799
Deuteranopia (green-blind)
#8A8D97
Tritanopia (blue-blind)
#AD7F87
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a87f98;
/* rgb */ color: rgb(168, 127, 152);
/* oklch */ color: oklch(64.4% 0.061 341.8);
Tailwind
colors: {
  custom: {
    50: '#c2a4b6',
    500: '#a87f98',
    950: '#000000',
  },
}
SCSS
$custom: #a87f98;
$custom-light: #c2a4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a87f98",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 152
  },
  "hsl": {
    "h": 323.415,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6441,
    "c": 0.06105,
    "h": 341.8
  },
  "luminance": 0.25771
}

Semantic roles & 50–950 ramp

primary
#A87F98
secondary
#B9CAC0
accent
#BC8B6C
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#120F11
muted
#817F80

Preview Lab

Preview with #A87F98

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

Preview Lab → · Contrast checker → · Palette generator →

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