#A52F71#A52F71

#A52F71 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.166 H 350.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A52F71
RGBrgb(165, 47, 113)
HSLhsl(326, 56%, 42%)
HSVhsv(326, 72%, 65%)
CMYKcmyk(0%, 71.5%, 31.5%, 35.3%)
CIE-LABlab(39.96, 53.77, -10.70)
CIE-LCHlch(39.96, 54.82, 348.74°)
OKLaboklab(50.44% 0.1641 -0.0279)
OKLCHoklch(50.44% 0.166 350.4)
XYZxyz(19.5152, 11.2268, 16.7589)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F71 #2FA563
analogous
#9E2FA5 #A52F71 #A52F36
triadic
#A52F71 #71A52F #2F71A5
tetradic
#A52F71 #A59E2F #2FA563 #2F36A5
square
#A52F71 #A59E2F #2FA563 #2F36A5
split-complementary
#A52F71 #36A52F #2FA59E
monochromatic
#461430 #752150 #A52F71 #CB4790 #D876AD

Accessibility & contrast

On white

6.47
#A52F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52F71
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F71#FFFFFF#000000##FFFFFF
##A52F711.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415173
Deuteranopia (green-blind)
#63666E
Tritanopia (blue-blind)
#B1284C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52f71;
/* rgb */ color: rgb(165, 47, 113);
/* oklch */ color: oklch(50.4% 0.166 350.4);
Tailwind
colors: {
  custom: {
    50: '#c47199',
    500: '#a52f71',
    950: '#000000',
  },
}
SCSS
$custom: #a52f71;
$custom-light: #c47199;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f71",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 326.441,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50438,
    "c": 0.16645,
    "h": 350.4
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#A52F71
secondary
#70C093
accent
#DF8B49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52F71

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

Preview Lab → · Contrast checker → · Palette generator →

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