#A52F7A#A52F7A

#A52F7A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.171 H 345.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A52F7A
RGBrgb(165, 47, 122)
HSLhsl(322, 56%, 42%)
HSVhsv(322, 72%, 65%)
CMYKcmyk(0%, 71.5%, 26.1%, 35.3%)
CIE-LABlab(40.31, 54.91, -15.76)
CIE-LCHlch(40.31, 57.13, 343.98°)
OKLaboklab(50.81% 0.1663 -0.0418)
OKLCHoklch(50.81% 0.171 345.9)
XYZxyz(20.0473, 11.4396, 19.5609)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F7A #2FA55A
analogous
#952FA5 #A52F7A #A52F3F
triadic
#A52F7A #7AA52F #2F7AA5
tetradic
#A52F7A #A5952F #2FA55A #2F3FA5
square
#A52F7A #A5952F #2FA55A #2F3FA5
split-complementary
#A52F7A #3FA52F #2FA595
monochromatic
#461434 #752157 #A52F7A #CB479A #D876B4

Accessibility & contrast

On white

6.39
#A52F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A52F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F7A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F7A#FFFFFF#000000##FFFFFF
##A52F7A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527C
Deuteranopia (green-blind)
#616677
Tritanopia (blue-blind)
#B02C50
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52f7a;
/* rgb */ color: rgb(165, 47, 122);
/* oklch */ color: oklch(50.8% 0.171 345.9);
Tailwind
colors: {
  custom: {
    50: '#c472a0',
    500: '#a52f7a',
    950: '#000000',
  },
}
SCSS
$custom: #a52f7a;
$custom-light: #c472a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f7a",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 321.864,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.17147,
    "h": 345.9
  },
  "luminance": 0.11438
}

Semantic roles & 50–950 ramp

primary
#A52F7A
secondary
#70C08D
accent
#DF8049
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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