#A52F8A#A52F8A

#A52F8A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.182 H 338.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A52F8A
RGBrgb(165, 47, 138)
HSLhsl(314, 56%, 42%)
HSVhsv(314, 72%, 65%)
CMYKcmyk(0%, 71.5%, 16.4%, 35.3%)
CIE-LABlab(41.01, 57.13, -24.53)
CIE-LCHlch(41.01, 62.18, 336.76°)
OKLaboklab(51.54% 0.1692 -0.0664)
OKLCHoklch(51.54% 0.182 338.6)
XYZxyz(21.1215, 11.8693, 25.2185)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F8A #2FA54A
analogous
#852FA5 #A52F8A #A52F4F
triadic
#A52F8A #8AA52F #2F8AA5
tetradic
#A52F8A #A5852F #2FA54A #2F4FA5
square
#A52F8A #A5852F #2FA54A #2F4FA5
split-complementary
#A52F8A #4FA52F #2FA585
monochromatic
#46143A #752162 #A52F8A #CB47AC #D876C2

Accessibility & contrast

On white

6.23
#A52F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A52F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F8A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F8A#FFFFFF#000000##FFFFFF
##A52F8A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558D
Deuteranopia (green-blind)
#5B6787
Tritanopia (blue-blind)
#AE3458
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52f8a;
/* rgb */ color: rgb(165, 47, 138);
/* oklch */ color: oklch(51.5% 0.182 338.6);
Tailwind
colors: {
  custom: {
    50: '#c372ac',
    500: '#a52f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a52f8a;
$custom-light: #c372ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f8a",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 313.729,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51545,
    "c": 0.1818,
    "h": 338.6
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#A52F8A
secondary
#70C082
accent
#DF6B49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A52F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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