#A42687#A42687

#A42687 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.5% C 0.189 H 339.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A42687
RGBrgb(164, 38, 135)
HSLhsl(314, 62%, 40%)
HSVhsv(314, 77%, 64%)
CMYKcmyk(0%, 76.8%, 17.7%, 35.7%)
CIE-LABlab(39.63, 59.46, -24.85)
CIE-LCHlch(39.63, 64.45, 337.32°)
OKLaboklab(50.47% 0.1769 -0.0673)
OKLCHoklch(50.47% 0.189 339.2)
XYZxyz(20.3767, 11.0300, 23.9728)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42687 #26A443
analogous
#8226A4 #A42687 #A42648
triadic
#A42687 #87A426 #2687A4
tetradic
#A42687 #A48226 #26A443 #2648A4
square
#A42687 #A48226 #26A443 #2648A4
split-complementary
#A42687 #48A426 #26A482
monochromatic
#410F35 #721A5E #A42687 #D137AD #DC68C1

Accessibility & contrast

On white

6.55
#A42687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A42687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42687
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42687#FFFFFF#000000##FFFFFF
##A426871.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518A
Deuteranopia (green-blind)
#586484
Tritanopia (blue-blind)
#AE2C54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42687;
/* rgb */ color: rgb(164, 38, 135);
/* oklch */ color: oklch(50.5% 0.189 339.2);
Tailwind
colors: {
  custom: {
    50: '#c36eaa',
    500: '#a42687',
    950: '#000000',
  },
}
SCSS
$custom: #a42687;
$custom-light: #c36eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a42687",
  "rgb": {
    "r": 164,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 313.81,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5047,
    "c": 0.18928,
    "h": 339.2
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#A42687
secondary
#64C279
accent
#E56842
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42687

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

Preview Lab → · Contrast checker → · Palette generator →

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