#A42882#A42882

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

Color values

HEX#A42882
RGBrgb(164, 40, 130)
HSLhsl(316, 61%, 40%)
HSVhsv(316, 76%, 64%)
CMYKcmyk(0%, 75.6%, 20.7%, 35.7%)
CIE-LABlab(39.62, 58.14, -21.79)
CIE-LCHlch(39.62, 62.09, 339.46°)
OKLaboklab(50.39% 0.1743 -0.0586)
OKLCHoklch(50.39% 0.184 341.4)
XYZxyz(20.0985, 11.0238, 22.1841)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42882 #28A44A
analogous
#8828A4 #A42882 #A42844
triadic
#A42882 #82A428 #2882A4
tetradic
#A42882 #A48828 #28A44A #2844A4
square
#A42882 #A48828 #28A44A #2844A4
split-complementary
#A42882 #44A428 #28A488
monochromatic
#421034 #731C5B #A42882 #CF3AA6 #DB6BBC

Accessibility & contrast

On white

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

On black

3.20
#A42882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A42882#FFFFFF#000000##FFFFFF
##A428821.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335184
Deuteranopia (green-blind)
#5B657F
Tritanopia (blue-blind)
#AE2A52
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42882;
/* rgb */ color: rgb(164, 40, 130);
/* oklch */ color: oklch(50.4% 0.184 341.4);
Tailwind
colors: {
  custom: {
    50: '#c36fa6',
    500: '#a42882',
    950: '#000000',
  },
}
SCSS
$custom: #a42882;
$custom-light: #c36fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42882",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 316.452,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50387,
    "c": 0.18388,
    "h": 341.4
  },
  "luminance": 0.11022
}

Semantic roles & 50–950 ramp

primary
#A42882
secondary
#66C17F
accent
#E47044
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42882

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

Preview Lab → · Contrast checker → · Palette generator →

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