#A52887#A52887

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

Color values

HEX#A52887
RGBrgb(165, 40, 135)
HSLhsl(314, 61%, 40%)
HSVhsv(314, 76%, 65%)
CMYKcmyk(0%, 75.8%, 18.2%, 35.3%)
CIE-LABlab(40.03, 59.08, -24.22)
CIE-LCHlch(40.03, 63.85, 337.71°)
OKLaboklab(50.79% 0.176 -0.0655)
OKLCHoklch(50.79% 0.188 339.6)
XYZxyz(20.6496, 11.2682, 24.0044)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52887 #28A546
analogous
#8428A5 #A52887 #A52848
triadic
#A52887 #87A528 #2887A5
tetradic
#A52887 #A58428 #28A546 #2848A5
square
#A52887 #A58428 #28A546 #2848A5
split-complementary
#A52887 #48A528 #28A584
monochromatic
#421036 #741C5F #A52887 #CF3BAC #DB6CC1

Accessibility & contrast

On white

6.46
#A52887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A52887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52887
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52887#FFFFFF#000000##FFFFFF
##A528871.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528A
Deuteranopia (green-blind)
#5A6584
Tritanopia (blue-blind)
#AF2D55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52887;
/* rgb */ color: rgb(165, 40, 135);
/* oklch */ color: oklch(50.8% 0.188 339.6);
Tailwind
colors: {
  custom: {
    50: '#c46faa',
    500: '#a52887',
    950: '#000000',
  },
}
SCSS
$custom: #a52887;
$custom-light: #c46faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a52887",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 314.4,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5079,
    "c": 0.18777,
    "h": 339.6
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#A52887
secondary
#67C27D
accent
#E46A44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52887

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

Preview Lab → · Contrast checker → · Palette generator →

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