#A52571#A52571

#A52571 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.178 H 349.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A52571
RGBrgb(165, 37, 113)
HSLhsl(324, 63%, 40%)
HSVhsv(324, 78%, 65%)
CMYKcmyk(0%, 77.6%, 31.5%, 35.3%)
CIE-LABlab(38.75, 57.16, -12.53)
CIE-LCHlch(38.75, 58.52, 347.64°)
OKLaboklab(49.56% 0.1747 -0.0328)
OKLCHoklch(49.56% 0.178 349.4)
XYZxyz(19.1603, 10.5170, 16.6405)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52571 #25A559
analogous
#9925A5 #A52571 #A52531
triadic
#A52571 #71A525 #2571A5
tetradic
#A52571 #A59925 #25A559 #2531A5
square
#A52571 #A59925 #25A559 #2531A5
split-complementary
#A52571 #31A525 #25A599
monochromatic
#410F2D #731A4F #A52571 #D23592 #DD67AD

Accessibility & contrast

On white

6.77
#A52571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A52571 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52571
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52571#FFFFFF#000000##FFFFFF
##A525711.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D73
Deuteranopia (green-blind)
#60636E
Tritanopia (blue-blind)
#B11D48
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a52571;
/* rgb */ color: rgb(165, 37, 113);
/* oklch */ color: oklch(49.6% 0.178 349.4);
Tailwind
colors: {
  custom: {
    50: '#c46d99',
    500: '#a52571',
    950: '#000000',
  },
}
SCSS
$custom: #a52571;
$custom-light: #c46d99;
$custom-dark: #000000;
JSON
{
  "hex": "#a52571",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 324.375,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49558,
    "c": 0.17779,
    "h": 349.4
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#A52571
secondary
#63C38A
accent
#E68441
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52571

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

Preview Lab → · Contrast checker → · Palette generator →

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