#A64F97#A64F97

#A64F97 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.1% C 0.145 H 334.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A64F97
RGBrgb(166, 79, 151)
HSLhsl(310, 36%, 48%)
HSVhsv(310, 52%, 65%)
CMYKcmyk(0%, 52.4%, 9%, 34.9%)
CIE-LABlab(46.89, 45.43, -23.25)
CIE-LCHlch(46.89, 51.03, 332.89°)
OKLaboklab(56.08% 0.1311 -0.0631)
OKLCHoklch(56.08% 0.145 334.3)
XYZxyz(24.1078, 15.9350, 31.0781)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64F97 #4FA65E
analogous
#894FA6 #A64F97 #A64F6B
triadic
#A64F97 #97A64F #4F97A6
tetradic
#A64F97 #A6894F #4FA65E #4F6BA6
square
#A64F97 #A6894F #4FA65E #4F6BA6
split-complementary
#A64F97 #6BA64F #4FA689
monochromatic
#53284C #7D3B71 #A64F97 #BD75B1 #D19EC8

Accessibility & contrast

On white

5.02
#A64F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A64F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64F97
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64F97#FFFFFF#000000##FFFFFF
##A64F971.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6799
Deuteranopia (green-blind)
#677495
Tritanopia (blue-blind)
#AD546C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a64f97;
/* rgb */ color: rgb(166, 79, 151);
/* oklch */ color: oklch(56.1% 0.145 334.3);
Tailwind
colors: {
  custom: {
    50: '#c284b5',
    500: '#a64f97',
    950: '#000000',
  },
}
SCSS
$custom: #a64f97;
$custom-light: #c284b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64f97",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 310.345,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.14545,
    "h": 334.3
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

primary
#A64F97
secondary
#93BE9A
accent
#CC6F5C
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #A64F97

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

Preview Lab → · Contrast checker → · Palette generator →

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