#A42987#A42987

#A42987 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.186 H 339.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A42987
RGBrgb(164, 41, 135)
HSLhsl(314, 60%, 40%)
HSVhsv(314, 75%, 64%)
CMYKcmyk(0%, 75%, 17.7%, 35.7%)
CIE-LABlab(39.96, 58.51, -24.33)
CIE-LCHlch(39.96, 63.37, 337.42°)
OKLaboklab(50.71% 0.174 -0.0658)
OKLCHoklch(50.71% 0.186 339.3)
XYZxyz(20.4765, 11.2297, 24.0061)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42987 #29A446
analogous
#8329A4 #A42987 #A4294A
triadic
#A42987 #87A429 #2987A4
tetradic
#A42987 #A48329 #29A446 #294AA4
square
#A42987 #A48329 #29A446 #294AA4
split-complementary
#A42987 #4AA429 #29A483
monochromatic
#421136 #731D5F #A42987 #CE3CAC #DA6DC1

Accessibility & contrast

On white

6.47
#A42987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A42987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42987
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42987#FFFFFF#000000##FFFFFF
##A429871.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528A
Deuteranopia (green-blind)
#596584
Tritanopia (blue-blind)
#AE2E55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42987;
/* rgb */ color: rgb(164, 41, 135);
/* oklch */ color: oklch(50.7% 0.186 339.3);
Tailwind
colors: {
  custom: {
    50: '#c36faa',
    500: '#a42987',
    950: '#000000',
  },
}
SCSS
$custom: #a42987;
$custom-light: #c36faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a42987",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 314.146,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50711,
    "c": 0.18606,
    "h": 339.3
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#A42987
secondary
#68C17D
accent
#E36A45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42987

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

Preview Lab → · Contrast checker → · Palette generator →

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