#A42887#A42887

#A42887 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.187 H 339.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A42887
RGBrgb(164, 40, 135)
HSLhsl(314, 61%, 40%)
HSVhsv(314, 76%, 64%)
CMYKcmyk(0%, 75.6%, 17.7%, 35.7%)
CIE-LABlab(39.85, 58.83, -24.51)
CIE-LCHlch(39.85, 63.74, 337.38°)
OKLaboklab(50.63% 0.175 -0.0663)
OKLCHoklch(50.63% 0.187 339.2)
XYZxyz(20.4423, 11.1614, 23.9947)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42887 #28A445
analogous
#8328A4 #A42887 #A42849
triadic
#A42887 #87A428 #2887A4
tetradic
#A42887 #A48328 #28A445 #2849A4
square
#A42887 #A48328 #28A445 #2849A4
split-complementary
#A42887 #49A428 #28A483
monochromatic
#421036 #731C5F #A42887 #CF3AAC #DB6BC1

Accessibility & contrast

On white

6.50
#A42887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A42887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42887
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42887#FFFFFF#000000##FFFFFF
##A428871.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42887;
/* rgb */ color: rgb(164, 40, 135);
/* oklch */ color: oklch(50.6% 0.187 339.2);
Tailwind
colors: {
  custom: {
    50: '#c36faa',
    500: '#a42887',
    950: '#000000',
  },
}
SCSS
$custom: #a42887;
$custom-light: #c36faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a42887",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 314.032,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50629,
    "c": 0.18716,
    "h": 339.2
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#A42887
secondary
#66C17C
accent
#E46944
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42887

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

Preview Lab → · Contrast checker → · Palette generator →

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