#A52D8A#A52D8A

#A52D8A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.184 H 338.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A52D8A
RGBrgb(165, 45, 138)
HSLhsl(314, 57%, 41%)
HSVhsv(314, 73%, 65%)
CMYKcmyk(0%, 72.7%, 16.4%, 35.3%)
CIE-LABlab(40.76, 57.84, -24.93)
CIE-LCHlch(40.76, 62.98, 336.69°)
OKLaboklab(51.36% 0.1714 -0.0675)
OKLCHoklch(51.36% 0.184 338.5)
XYZxyz(21.0434, 11.7131, 25.1924)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D8A #2DA548
analogous
#842DA5 #A52D8A #A52D4E
triadic
#A52D8A #8AA52D #2D8AA5
tetradic
#A52D8A #A5842D #2DA548 #2D4EA5
square
#A52D8A #A5842D #2DA548 #2D4EA5
split-complementary
#A52D8A #4EA52D #2DA584
monochromatic
#45133A #752062 #A52D8A #CC43AD #D973C2

Accessibility & contrast

On white

6.28
#A52D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A52D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D8A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D8A#FFFFFF#000000##FFFFFF
##A52D8A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548D
Deuteranopia (green-blind)
#5A6787
Tritanopia (blue-blind)
#AE3258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52d8a;
/* rgb */ color: rgb(165, 45, 138);
/* oklch */ color: oklch(51.4% 0.184 338.5);
Tailwind
colors: {
  custom: {
    50: '#c371ac',
    500: '#a52d8a',
    950: '#000000',
  },
}
SCSS
$custom: #a52d8a;
$custom-light: #c371ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d8a",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 313.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.18418,
    "h": 338.5
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#A52D8A
secondary
#6DC180
accent
#E06A47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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