#A52F8D#A52F8D

#A52F8D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.184 H 337.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A52F8D
RGBrgb(165, 47, 141)
HSLhsl(312, 56%, 42%)
HSVhsv(312, 72%, 65%)
CMYKcmyk(0%, 71.5%, 14.5%, 35.3%)
CIE-LABlab(41.15, 57.57, -26.15)
CIE-LCHlch(41.15, 63.23, 335.57°)
OKLaboklab(51.69% 0.1696 -0.071)
OKLCHoklch(51.69% 0.184 337.3)
XYZxyz(21.3417, 11.9574, 26.3782)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F8D #2FA547
analogous
#822FA5 #A52F8D #A52F52
triadic
#A52F8D #8DA52F #2F8DA5
tetradic
#A52F8D #A5822F #2FA547 #2F52A5
square
#A52F8D #A5822F #2FA547 #2F52A5
split-complementary
#A52F8D #52A52F #2FA582
monochromatic
#46143C #752164 #A52F8D #CB47B0 #D876C4

Accessibility & contrast

On white

6.19
#A52F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A52F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F8D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F8D#FFFFFF#000000##FFFFFF
##A52F8D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335590
Deuteranopia (green-blind)
#5A688A
Tritanopia (blue-blind)
#AE365A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52f8d;
/* rgb */ color: rgb(165, 47, 141);
/* oklch */ color: oklch(51.7% 0.184 337.3);
Tailwind
colors: {
  custom: {
    50: '#c372ae',
    500: '#a52f8d',
    950: '#000000',
  },
}
SCSS
$custom: #a52f8d;
$custom-light: #c372ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f8d",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 312.203,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51693,
    "c": 0.18389,
    "h": 337.3
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

primary
#A52F8D
secondary
#70C080
accent
#DF6749
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A52F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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