#A64987#A64987

#A64987 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.5% C 0.143 H 342.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A64987
RGBrgb(166, 73, 135)
HSLhsl(320, 39%, 47%)
HSVhsv(320, 56%, 65%)
CMYKcmyk(0%, 56%, 18.7%, 34.9%)
CIE-LABlab(45.11, 45.80, -16.37)
CIE-LCHlch(45.11, 48.64, 340.33°)
OKLaboklab(54.55% 0.1362 -0.0437)
OKLCHoklch(54.55% 0.143 342.2)
XYZxyz(22.4821, 14.6232, 24.5555)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64987 #49A668
analogous
#9749A6 #A64987 #A64959
triadic
#A64987 #87A649 #4987A6
tetradic
#A64987 #A69749 #49A668 #4959A6
square
#A64987 #A69749 #49A668 #4959A6
split-complementary
#A64987 #59A649 #49A697
monochromatic
#512442 #7B3664 #A64987 #BF6DA4 #D298BE

Accessibility & contrast

On white

5.35
#A64987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A64987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64987
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64987#FFFFFF#000000##FFFFFF
##A649871.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6189
Deuteranopia (green-blind)
#697085
Tritanopia (blue-blind)
#AF4A62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a64987;
/* rgb */ color: rgb(166, 73, 135);
/* oklch */ color: oklch(54.5% 0.143 342.2);
Tailwind
colors: {
  custom: {
    50: '#c380aa',
    500: '#a64987',
    950: '#000000',
  },
}
SCSS
$custom: #a64987;
$custom-light: #c380aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a64987",
  "rgb": {
    "r": 166,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 320,
    "s": 38.912,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.143,
    "h": 342.2
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#A64987
secondary
#8DBE9D
accent
#CF8059
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A64987

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

Preview Lab → · Contrast checker → · Palette generator →

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