#A42981#A42981

#A42981 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.182 H 341.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A42981
RGBrgb(164, 41, 129)
HSLhsl(317, 60%, 40%)
HSVhsv(317, 75%, 64%)
CMYKcmyk(0%, 75%, 21.3%, 35.7%)
CIE-LABlab(39.69, 57.68, -21.06)
CIE-LCHlch(39.69, 61.40, 339.94°)
OKLaboklab(50.42% 0.1731 -0.0566)
OKLCHoklch(50.42% 0.182 341.9)
XYZxyz(20.0659, 11.0654, 21.8437)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42981 #29A44C
analogous
#8929A4 #A42981 #A42944
triadic
#A42981 #81A429 #2981A4
tetradic
#A42981 #A48929 #29A44C #2944A4
square
#A42981 #A48929 #29A44C #2944A4
split-complementary
#A42981 #44A429 #29A489
monochromatic
#421134 #731D5A #A42981 #CE3CA5 #DA6DBB

Accessibility & contrast

On white

6.54
#A42981 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A42981 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42981
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42981#FFFFFF#000000##FFFFFF
##A429811.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345183
Deuteranopia (green-blind)
#5B657E
Tritanopia (blue-blind)
#AE2B52
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42981;
/* rgb */ color: rgb(164, 41, 129);
/* oklch */ color: oklch(50.4% 0.182 341.9);
Tailwind
colors: {
  custom: {
    50: '#c36fa5',
    500: '#a42981',
    950: '#000000',
  },
}
SCSS
$custom: #a42981;
$custom-light: #c36fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42981",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 129
  },
  "hsl": {
    "h": 317.073,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50423,
    "c": 0.18215,
    "h": 341.9
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#A42981
secondary
#68C181
accent
#E37245
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42981

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

Preview Lab → · Contrast checker → · Palette generator →

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