#A42A84#A42A84

#A42A84 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.183 H 340.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A42A84
RGBrgb(164, 42, 132)
HSLhsl(316, 59%, 40%)
HSVhsv(316, 74%, 64%)
CMYKcmyk(0%, 74.4%, 19.5%, 35.7%)
CIE-LABlab(39.94, 57.76, -22.52)
CIE-LCHlch(39.94, 61.99, 338.70°)
OKLaboklab(50.65% 0.1726 -0.0607)
OKLCHoklch(50.65% 0.183 340.6)
XYZxyz(20.3033, 11.2164, 22.9210)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A84 #2AA44A
analogous
#872AA4 #A42A84 #A42A47
triadic
#A42A84 #84A42A #2A84A4
tetradic
#A42A84 #A4872A #2AA44A #2A47A4
square
#A42A84 #A4872A #2AA44A #2A47A4
split-complementary
#A42A84 #47A42A #2AA487
monochromatic
#431136 #731E5D #A42A84 #CD3EA8 #DA6EBE

Accessibility & contrast

On white

6.48
#A42A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A42A84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A84
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A84#FFFFFF#000000##FFFFFF
##A42A841.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335286
Deuteranopia (green-blind)
#5B6581
Tritanopia (blue-blind)
#AE2D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42a84;
/* rgb */ color: rgb(164, 42, 132);
/* oklch */ color: oklch(50.6% 0.183 340.6);
Tailwind
colors: {
  custom: {
    50: '#c370a8',
    500: '#a42a84',
    950: '#000000',
  },
}
SCSS
$custom: #a42a84;
$custom-light: #c370a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a84",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 315.738,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5065,
    "c": 0.18297,
    "h": 340.6
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#A42A84
secondary
#69C180
accent
#E26F45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42A84

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

Preview Lab → · Contrast checker → · Palette generator →

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