#A42A82#A42A82

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

Color values

HEX#A42A82
RGBrgb(164, 42, 130)
HSLhsl(317, 59%, 40%)
HSVhsv(317, 74%, 64%)
CMYKcmyk(0%, 74.4%, 20.7%, 35.7%)
CIE-LABlab(39.85, 57.48, -21.43)
CIE-LCHlch(39.85, 61.35, 339.55°)
OKLaboklab(50.56% 0.1723 -0.0576)
OKLCHoklch(50.56% 0.182 341.5)
XYZxyz(20.1677, 11.1622, 22.2072)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A82 #2AA44C
analogous
#892AA4 #A42A82 #A42A45
triadic
#A42A82 #82A42A #2A82A4
tetradic
#A42A82 #A4892A #2AA44C #2A45A4
square
#A42A82 #A4892A #2AA44C #2A45A4
split-complementary
#A42A82 #45A42A #2AA489
monochromatic
#431135 #731E5B #A42A82 #CD3EA5 #DA6EBC

Accessibility & contrast

On white

6.50
#A42A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A42A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A82
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A82#FFFFFF#000000##FFFFFF
##A42A821.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355184
Deuteranopia (green-blind)
#5B657F
Tritanopia (blue-blind)
#AE2C53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42a82;
/* rgb */ color: rgb(164, 42, 130);
/* oklch */ color: oklch(50.6% 0.182 341.5);
Tailwind
colors: {
  custom: {
    50: '#c370a6',
    500: '#a42a82',
    950: '#000000',
  },
}
SCSS
$custom: #a42a82;
$custom-light: #c370a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a82",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 316.721,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.18167,
    "h": 341.5
  },
  "luminance": 0.1116
}

Semantic roles & 50–950 ramp

primary
#A42A82
secondary
#69C181
accent
#E27145
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42A82

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

Preview Lab → · Contrast checker → · Palette generator →

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