#A52D87#A52D87

#A52D87 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.182 H 339.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A52D87
RGBrgb(165, 45, 135)
HSLhsl(315, 57%, 41%)
HSVhsv(315, 73%, 65%)
CMYKcmyk(0%, 72.7%, 18.2%, 35.3%)
CIE-LABlab(40.62, 57.41, -23.30)
CIE-LCHlch(40.62, 61.96, 337.91°)
OKLaboklab(51.22% 0.1709 -0.0629)
OKLCHoklch(51.22% 0.182 339.8)
XYZxyz(20.8292, 11.6274, 24.0643)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D87 #2DA54B
analogous
#872DA5 #A52D87 #A52D4B
triadic
#A52D87 #87A52D #2D87A5
tetradic
#A52D87 #A5872D #2DA54B #2D4BA5
square
#A52D87 #A5872D #2DA54B #2D4BA5
split-complementary
#A52D87 #4BA52D #2DA587
monochromatic
#451338 #752060 #A52D87 #CC43AA #D973C0

Accessibility & contrast

On white

6.32
#A52D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A52D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D87
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D87#FFFFFF#000000##FFFFFF
##A52D871.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548A
Deuteranopia (green-blind)
#5B6784
Tritanopia (blue-blind)
#AF3156
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52d87;
/* rgb */ color: rgb(165, 45, 135);
/* oklch */ color: oklch(51.2% 0.182 339.8);
Tailwind
colors: {
  custom: {
    50: '#c371aa',
    500: '#a52d87',
    950: '#000000',
  },
}
SCSS
$custom: #a52d87;
$custom-light: #c371aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d87",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 315,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.18214,
    "h": 339.8
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#A52D87
secondary
#6DC182
accent
#E06E47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52D87

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

Preview Lab → · Contrast checker → · Palette generator →

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