#A42D87#A42D87

#A42D87 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.181 H 339.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A42D87
RGBrgb(164, 45, 135)
HSLhsl(315, 57%, 41%)
HSVhsv(315, 73%, 64%)
CMYKcmyk(0%, 72.6%, 17.7%, 35.7%)
CIE-LABlab(40.44, 57.15, -23.59)
CIE-LCHlch(40.44, 61.83, 337.57°)
OKLaboklab(51.06% 0.1699 -0.0637)
OKLCHoklch(51.06% 0.181 339.4)
XYZxyz(20.6219, 11.5205, 24.0546)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D87 #2DA44A
analogous
#852DA4 #A42D87 #A42D4B
triadic
#A42D87 #87A42D #2D87A4
tetradic
#A42D87 #A4852D #2DA44A #2D4BA4
square
#A42D87 #A4852D #2DA44A #2D4BA4
split-complementary
#A42D87 #4BA42D #2DA485
monochromatic
#441338 #74205F #A42D87 #CB43AA #D973C0

Accessibility & contrast

On white

6.36
#A42D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A42D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D87
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D87#FFFFFF#000000##FFFFFF
##A42D871.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34538A
Deuteranopia (green-blind)
#5B6684
Tritanopia (blue-blind)
#AE3156
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42d87;
/* rgb */ color: rgb(164, 45, 135);
/* oklch */ color: oklch(51.1% 0.181 339.4);
Tailwind
colors: {
  custom: {
    50: '#c371aa',
    500: '#a42d87',
    950: '#000000',
  },
}
SCSS
$custom: #a42d87;
$custom-light: #c371aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d87",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 314.622,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51058,
    "c": 0.18149,
    "h": 339.4
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

primary
#A42D87
secondary
#6DC081
accent
#E06D48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42D87

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

Preview Lab → · Contrast checker → · Palette generator →

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