#A52588#A52588

#A52588 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.192 H 339.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A52588
RGBrgb(165, 37, 136)
HSLhsl(314, 63%, 40%)
HSVhsv(314, 78%, 65%)
CMYKcmyk(0%, 77.6%, 17.6%, 35.3%)
CIE-LABlab(39.75, 60.14, -25.26)
CIE-LCHlch(39.75, 65.23, 337.21°)
OKLaboklab(50.61% 0.1789 -0.0684)
OKLCHoklch(50.61% 0.192 339.1)
XYZxyz(20.6231, 11.1021, 24.3446)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52588 #25A542
analogous
#8225A5 #A52588 #A52548
triadic
#A52588 #88A525 #2588A5
tetradic
#A52588 #A58225 #25A542 #2548A5
square
#A52588 #A58225 #25A542 #2548A5
split-complementary
#A52588 #48A525 #25A582
monochromatic
#410F36 #731A5F #A52588 #D235AE #DD67C2

Accessibility & contrast

On white

6.52
#A52588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A52588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52588
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52588#FFFFFF#000000##FFFFFF
##A525881.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D518B
Deuteranopia (green-blind)
#586585
Tritanopia (blue-blind)
#AF2B54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52588;
/* rgb */ color: rgb(165, 37, 136);
/* oklch */ color: oklch(50.6% 0.192 339.1);
Tailwind
colors: {
  custom: {
    50: '#c46eab',
    500: '#a52588',
    950: '#000000',
  },
}
SCSS
$custom: #a52588;
$custom-light: #c46eab;
$custom-dark: #000000;
JSON
{
  "hex": "#a52588",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 313.594,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.19154,
    "h": 339.1
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#A52588
secondary
#63C379
accent
#E66741
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52588

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

Preview Lab → · Contrast checker → · Palette generator →

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