#A64786#A64786

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

Color values

HEX#A64786
RGBrgb(166, 71, 134)
HSLhsl(320, 40%, 46%)
HSVhsv(320, 57%, 65%)
CMYKcmyk(0%, 57.2%, 19.3%, 34.9%)
CIE-LABlab(44.71, 46.62, -16.38)
CIE-LCHlch(44.71, 49.41, 340.64°)
OKLaboklab(54.24% 0.1388 -0.0437)
OKLCHoklch(54.24% 0.146 342.5)
XYZxyz(22.2827, 14.3366, 24.1433)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64786 #47A667
analogous
#9747A6 #A64786 #A64757
triadic
#A64786 #86A647 #4786A6
tetradic
#A64786 #A69747 #47A667 #4757A6
square
#A64786 #A69747 #47A667 #4757A6
split-complementary
#A64786 #57A647 #47A697
monochromatic
#502241 #7B3563 #A64786 #C06BA3 #D296BE

Accessibility & contrast

On white

5.43
#A64786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A64786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64786
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64786#FFFFFF#000000##FFFFFF
##A647861.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6088
Deuteranopia (green-blind)
#696F84
Tritanopia (blue-blind)
#AF4860
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a64786;
/* rgb */ color: rgb(166, 71, 134);
/* oklch */ color: oklch(54.2% 0.146 342.5);
Tailwind
colors: {
  custom: {
    50: '#c37fa9',
    500: '#a64786',
    950: '#000000',
  },
}
SCSS
$custom: #a64786;
$custom-light: #c37fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#a64786",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 320.211,
    "s": 40.084,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.14553,
    "h": 342.5
  },
  "luminance": 0.14335
}

Semantic roles & 50–950 ramp

primary
#A64786
secondary
#8BBE9C
accent
#D08058
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A64786

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

Preview Lab → · Contrast checker → · Palette generator →

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