#A52987#A52987

#A52987 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.187 H 339.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A52987
RGBrgb(165, 41, 135)
HSLhsl(315, 60%, 40%)
HSVhsv(315, 75%, 65%)
CMYKcmyk(0%, 75.2%, 18.2%, 35.3%)
CIE-LABlab(40.14, 58.76, -24.04)
CIE-LCHlch(40.14, 63.49, 337.75°)
OKLaboklab(50.87% 0.175 -0.065)
OKLCHoklch(50.87% 0.187 339.6)
XYZxyz(20.6837, 11.3365, 24.0158)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52987 #29A547
analogous
#8529A5 #A52987 #A52949
triadic
#A52987 #87A529 #2987A5
tetradic
#A52987 #A58529 #29A547 #2949A5
square
#A52987 #A58529 #29A547 #2949A5
split-complementary
#A52987 #49A529 #29A585
monochromatic
#431137 #741D5F #A52987 #CF3DAB #DB6EC0

Accessibility & contrast

On white

6.43
#A52987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A52987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52987
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52987#FFFFFF#000000##FFFFFF
##A529871.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528A
Deuteranopia (green-blind)
#5A6684
Tritanopia (blue-blind)
#AF2E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52987;
/* rgb */ color: rgb(165, 41, 135);
/* oklch */ color: oklch(50.9% 0.187 339.6);
Tailwind
colors: {
  custom: {
    50: '#c370aa',
    500: '#a52987',
    950: '#000000',
  },
}
SCSS
$custom: #a52987;
$custom-light: #c370aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a52987",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 314.516,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50872,
    "c": 0.18669,
    "h": 339.6
  },
  "luminance": 0.11334
}

Semantic roles & 50–950 ramp

primary
#A52987
secondary
#68C27E
accent
#E36B44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52987

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

Preview Lab → · Contrast checker → · Palette generator →

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