#A42A87#A42A87

#A42A87 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.185 H 339.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A42A87
RGBrgb(164, 42, 135)
HSLhsl(314, 59%, 40%)
HSVhsv(314, 74%, 64%)
CMYKcmyk(0%, 74.4%, 17.7%, 35.7%)
CIE-LABlab(40.08, 58.18, -24.15)
CIE-LCHlch(40.08, 63.00, 337.46°)
OKLaboklab(50.8% 0.173 -0.0653)
OKLCHoklch(50.8% 0.185 339.3)
XYZxyz(20.5115, 11.2997, 24.0178)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A87 #2AA447
analogous
#842AA4 #A42A87 #A42A4A
triadic
#A42A87 #87A42A #2A87A4
tetradic
#A42A87 #A4842A #2AA447 #2A4AA4
square
#A42A87 #A4842A #2AA447 #2A4AA4
split-complementary
#A42A87 #4AA42A #2AA484
monochromatic
#431137 #731E5F #A42A87 #CD3EAB #DA6EC0

Accessibility & contrast

On white

6.44
#A42A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A42A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A87
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A87#FFFFFF#000000##FFFFFF
##A42A871.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42a87;
/* rgb */ color: rgb(164, 42, 135);
/* oklch */ color: oklch(50.8% 0.185 339.3);
Tailwind
colors: {
  custom: {
    50: '#c370aa',
    500: '#a42a87',
    950: '#000000',
  },
}
SCSS
$custom: #a42a87;
$custom-light: #c370aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a87",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 314.262,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.18496,
    "h": 339.3
  },
  "luminance": 0.11298
}

Semantic roles & 50–950 ramp

primary
#A42A87
secondary
#69C17E
accent
#E26B45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42A87

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

Preview Lab → · Contrast checker → · Palette generator →

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