#A42787#A42787

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

Color values

HEX#A42787
RGBrgb(164, 39, 135)
HSLhsl(314, 62%, 40%)
HSVhsv(314, 76%, 64%)
CMYKcmyk(0%, 76.2%, 17.7%, 35.7%)
CIE-LABlab(39.74, 59.15, -24.68)
CIE-LCHlch(39.74, 64.10, 337.35°)
OKLaboklab(50.55% 0.176 -0.0668)
OKLCHoklch(50.55% 0.188 339.2)
XYZxyz(20.4091, 11.0948, 23.9836)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42787 #27A444
analogous
#8327A4 #A42787 #A42749
triadic
#A42787 #87A427 #2787A4
tetradic
#A42787 #A48327 #27A444 #2749A4
square
#A42787 #A48327 #27A444 #2749A4
split-complementary
#A42787 #49A427 #27A483
monochromatic
#410F36 #731B5E #A42787 #D038AD #DC6AC1

Accessibility & contrast

On white

6.52
#A42787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A42787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42787
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42787#FFFFFF#000000##FFFFFF
##A427871.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F518A
Deuteranopia (green-blind)
#586584
Tritanopia (blue-blind)
#AE2C54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42787;
/* rgb */ color: rgb(164, 39, 135);
/* oklch */ color: oklch(50.5% 0.188 339.2);
Tailwind
colors: {
  custom: {
    50: '#c36faa',
    500: '#a42787',
    950: '#000000',
  },
}
SCSS
$custom: #a42787;
$custom-light: #c36faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a42787",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 313.92,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.18823,
    "h": 339.2
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

primary
#A42787
secondary
#65C27B
accent
#E56943
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42787

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

Preview Lab → · Contrast checker → · Palette generator →

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