#A52587#A52587

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

Color values

HEX#A52587
RGBrgb(165, 37, 135)
HSLhsl(314, 63%, 40%)
HSVhsv(314, 78%, 65%)
CMYKcmyk(0%, 77.6%, 18.2%, 35.3%)
CIE-LABlab(39.70, 60.00, -24.72)
CIE-LCHlch(39.70, 64.90, 337.61°)
OKLaboklab(50.56% 0.1788 -0.0669)
OKLCHoklch(50.56% 0.191 339.5)
XYZxyz(20.5524, 11.0738, 23.9720)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52587 #25A543
analogous
#8325A5 #A52587 #A52547
triadic
#A52587 #87A525 #2587A5
tetradic
#A52587 #A58325 #25A543 #2547A5
square
#A52587 #A58325 #25A543 #2547A5
split-complementary
#A52587 #47A525 #25A583
monochromatic
#410F35 #731A5E #A52587 #D235AD #DD67C1

Accessibility & contrast

On white

6.53
#A52587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52587
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52587#FFFFFF#000000##FFFFFF
##A525871.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518A
Deuteranopia (green-blind)
#596584
Tritanopia (blue-blind)
#AF2A54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52587;
/* rgb */ color: rgb(165, 37, 135);
/* oklch */ color: oklch(50.6% 0.191 339.5);
Tailwind
colors: {
  custom: {
    50: '#c46eaa',
    500: '#a52587',
    950: '#000000',
  },
}
SCSS
$custom: #a52587;
$custom-light: #c46eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a52587",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 314.063,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50556,
    "c": 0.19089,
    "h": 339.5
  },
  "luminance": 0.11072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52587

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

Preview Lab → · Contrast checker → · Palette generator →

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