#A64B8A#A64B8A

#A64B8A is a mid, vivid pink. Relative luminance 0.150; OKLCH L 54.9% C 0.142 H 340.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A64B8A
RGBrgb(166, 75, 138)
HSLhsl(318, 38%, 47%)
HSVhsv(318, 55%, 65%)
CMYKcmyk(0%, 54.8%, 16.9%, 34.9%)
CIE-LABlab(45.60, 45.28, -17.44)
CIE-LCHlch(45.60, 48.53, 338.94°)
OKLaboklab(54.95% 0.134 -0.0467)
OKLCHoklch(54.95% 0.142 340.8)
XYZxyz(22.8298, 14.9759, 25.7281)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64B8A #4BA667
analogous
#954BA6 #A64B8A #A64B5C
triadic
#A64B8A #8AA64B #4B8AA6
tetradic
#A64B8A #A6954B #4BA667 #4B5CA6
square
#A64B8A #A6954B #4BA667 #4B5CA6
split-complementary
#A64B8A #5CA64B #4BA695
monochromatic
#522544 #7C3867 #A64B8A #BE70A6 #D19AC0

Accessibility & contrast

On white

5.26
#A64B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A64B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64B8A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64B8A#FFFFFF#000000##FFFFFF
##A64B8A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638C
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#AF4C64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a64b8a;
/* rgb */ color: rgb(166, 75, 138);
/* oklch */ color: oklch(54.9% 0.142 340.8);
Tailwind
colors: {
  custom: {
    50: '#c381ac',
    500: '#a64b8a',
    950: '#000000',
  },
}
SCSS
$custom: #a64b8a;
$custom-light: #c381ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a64b8a",
  "rgb": {
    "r": 166,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 318.462,
    "s": 37.759,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.14187,
    "h": 340.8
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#A64B8A
secondary
#8FBE9D
accent
#CE7E5A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A64B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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