#A42581#A42581

#A42581 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.186 H 341.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A42581
RGBrgb(164, 37, 129)
HSLhsl(317, 63%, 39%)
HSVhsv(317, 77%, 64%)
CMYKcmyk(0%, 77.4%, 21.3%, 35.7%)
CIE-LABlab(39.25, 58.94, -21.75)
CIE-LCHlch(39.25, 62.83, 339.74°)
OKLaboklab(50.1% 0.177 -0.0585)
OKLCHoklch(50.1% 0.186 341.7)
XYZxyz(19.9345, 10.8027, 21.7999)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42581 #25A448
analogous
#8725A4 #A42581 #A42542
triadic
#A42581 #81A425 #2581A4
tetradic
#A42581 #A48725 #25A448 #2542A4
square
#A42581 #A48725 #25A448 #2542A4
split-complementary
#A42581 #42A425 #25A487
monochromatic
#400E32 #721A5A #A42581 #D135A6 #DD67BC

Accessibility & contrast

On white

6.65
#A42581 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A42581 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42581
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42581#FFFFFF#000000##FFFFFF
##A425811.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F83
Deuteranopia (green-blind)
#5A647E
Tritanopia (blue-blind)
#AE2751
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42581;
/* rgb */ color: rgb(164, 37, 129);
/* oklch */ color: oklch(50.1% 0.186 341.7);
Tailwind
colors: {
  custom: {
    50: '#c36ea5',
    500: '#a42581',
    950: '#000000',
  },
}
SCSS
$custom: #a42581;
$custom-light: #c36ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42581",
  "rgb": {
    "r": 164,
    "g": 37,
    "b": 129
  },
  "hsl": {
    "h": 316.535,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50101,
    "c": 0.18641,
    "h": 341.7
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#A42581
secondary
#62C27D
accent
#E66F42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42581

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

Preview Lab → · Contrast checker → · Palette generator →

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