#A64F7D#A64F7D

#A64F7D is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.0% C 0.127 H 349.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A64F7D
RGBrgb(166, 79, 125)
HSLhsl(328, 36%, 48%)
HSVhsv(328, 52%, 65%)
CMYKcmyk(0%, 52.4%, 24.7%, 34.9%)
CIE-LABlab(45.88, 41.30, -9.15)
CIE-LCHlch(45.88, 42.30, 347.51°)
OKLaboklab(55% 0.1243 -0.0239)
OKLCHoklch(55% 0.127 349.1)
XYZxyz(22.2242, 15.1815, 21.1579)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64F7D #4FA678
analogous
#A34FA6 #A64F7D #A64F51
triadic
#A64F7D #7DA64F #4F7DA6
tetradic
#A64F7D #A6A34F #4FA678 #4F51A6
square
#A64F7D #A6A34F #4FA678 #4F51A6
split-complementary
#A64F7D #51A64F #4FA6A3
monochromatic
#53283F #7D3B5E #A64F7D #BD759B #D19EB9

Accessibility & contrast

On white

5.20
#A64F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A64F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64F7D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64F7D#FFFFFF#000000##FFFFFF
##A64F7D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58637F
Deuteranopia (green-blind)
#70727B
Tritanopia (blue-blind)
#B04C60
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a64f7d;
/* rgb */ color: rgb(166, 79, 125);
/* oklch */ color: oklch(55.0% 0.127 349.1);
Tailwind
colors: {
  custom: {
    50: '#c383a2',
    500: '#a64f7d',
    950: '#000000',
  },
}
SCSS
$custom: #a64f7d;
$custom-light: #c383a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a64f7d",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 328.276,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54998,
    "c": 0.12657,
    "h": 349.1
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#A64F7D
secondary
#93BEA7
accent
#CC915C
background
#FCF8FA
surface
#F8EFF3
border
#D1CACD
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #A64F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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