#A42588#A42588

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

Color values

HEX#A42588
RGBrgb(164, 37, 136)
HSLhsl(313, 63%, 39%)
HSVhsv(313, 77%, 64%)
CMYKcmyk(0%, 77.4%, 17.1%, 35.7%)
CIE-LABlab(39.57, 59.91, -25.56)
CIE-LCHlch(39.57, 65.13, 336.90°)
OKLaboklab(50.44% 0.1779 -0.0693)
OKLCHoklch(50.44% 0.191 338.7)
XYZxyz(20.4159, 10.9952, 24.3349)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42588 #25A441
analogous
#8025A4 #A42588 #A42549
triadic
#A42588 #88A425 #2588A4
tetradic
#A42588 #A48025 #25A441 #2549A4
square
#A42588 #A48025 #25A441 #2549A4
split-complementary
#A42588 #49A425 #25A480
monochromatic
#400E35 #721A5F #A42588 #D135AF #DD67C3

Accessibility & contrast

On white

6.57
#A42588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42588
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42588#FFFFFF#000000##FFFFFF
##A425881.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518B
Deuteranopia (green-blind)
#576485
Tritanopia (blue-blind)
#AE2B54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42588;
/* rgb */ color: rgb(164, 37, 136);
/* oklch */ color: oklch(50.4% 0.191 338.7);
Tailwind
colors: {
  custom: {
    50: '#c36eab',
    500: '#a42588',
    950: '#000000',
  },
}
SCSS
$custom: #a42588;
$custom-light: #c36eab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42588",
  "rgb": {
    "r": 164,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 313.228,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.19095,
    "h": 338.7
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

primary
#A42588
secondary
#62C278
accent
#E66642
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42588

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

Preview Lab → · Contrast checker → · Palette generator →

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