#A52787#A52787

#A52787 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.189 H 339.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A52787
RGBrgb(165, 39, 135)
HSLhsl(314, 62%, 40%)
HSVhsv(314, 76%, 65%)
CMYKcmyk(0%, 76.4%, 18.2%, 35.3%)
CIE-LABlab(39.92, 59.39, -24.39)
CIE-LCHlch(39.92, 64.21, 337.67°)
OKLaboklab(50.71% 0.1769 -0.066)
OKLCHoklch(50.71% 0.189 339.6)
XYZxyz(20.6163, 11.2017, 23.9934)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52787 #27A545
analogous
#8427A5 #A52787 #A52748
triadic
#A52787 #87A527 #2787A5
tetradic
#A52787 #A58427 #27A545 #2748A5
square
#A52787 #A58427 #27A545 #2748A5
split-complementary
#A52787 #48A527 #27A584
monochromatic
#421036 #741B5E #A52787 #D039AC #DC6AC1

Accessibility & contrast

On white

6.48
#A52787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A52787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52787
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52787#FFFFFF#000000##FFFFFF
##A527871.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30518A
Deuteranopia (green-blind)
#596584
Tritanopia (blue-blind)
#AF2C54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52787;
/* rgb */ color: rgb(165, 39, 135);
/* oklch */ color: oklch(50.7% 0.189 339.6);
Tailwind
colors: {
  custom: {
    50: '#c46faa',
    500: '#a52787',
    950: '#000000',
  },
}
SCSS
$custom: #a52787;
$custom-light: #c46faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a52787",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 314.286,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50711,
    "c": 0.18883,
    "h": 339.6
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

primary
#A52787
secondary
#66C27C
accent
#E56943
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52787

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

Preview Lab → · Contrast checker → · Palette generator →

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