#A42885#A42885

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

Color values

HEX#A42885
RGBrgb(164, 40, 133)
HSLhsl(315, 61%, 40%)
HSVhsv(315, 76%, 64%)
CMYKcmyk(0%, 75.6%, 18.9%, 35.7%)
CIE-LABlab(39.76, 58.55, -23.42)
CIE-LCHlch(39.76, 63.06, 338.20°)
OKLaboklab(50.53% 0.1747 -0.0632)
OKLCHoklch(50.53% 0.186 340.1)
XYZxyz(20.3028, 11.1056, 23.2601)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42885 #28A447
analogous
#8528A4 #A42885 #A42847
triadic
#A42885 #85A428 #2885A4
tetradic
#A42885 #A48528 #28A447 #2847A4
square
#A42885 #A48528 #28A447 #2847A4
split-complementary
#A42885 #47A428 #28A485
monochromatic
#421035 #731C5D #A42885 #CF3AAA #DB6BBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42885#FFFFFF#000000##FFFFFF
##A428851.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)
#315188
Deuteranopia (green-blind)
#5A6582
Tritanopia (blue-blind)
#AE2C54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42885;
/* rgb */ color: rgb(164, 40, 133);
/* oklch */ color: oklch(50.5% 0.186 340.1);
Tailwind
colors: {
  custom: {
    50: '#c36fa8',
    500: '#a42885',
    950: '#000000',
  },
}
SCSS
$custom: #a42885;
$custom-light: #c36fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42885",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 315,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.18583,
    "h": 340.1
  },
  "luminance": 0.11104
}

Semantic roles & 50–950 ramp

primary
#A42885
secondary
#66C17D
accent
#E46C44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42885

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

Preview Lab → · Contrast checker → · Palette generator →

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