#A52D8B#A52D8B

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

Color values

HEX#A52D8B
RGBrgb(165, 45, 139)
HSLhsl(313, 57%, 41%)
HSVhsv(313, 73%, 65%)
CMYKcmyk(0%, 72.7%, 15.8%, 35.3%)
CIE-LABlab(40.80, 57.98, -25.46)
CIE-LCHlch(40.80, 63.33, 336.29°)
OKLaboklab(51.41% 0.1715 -0.0691)
OKLCHoklch(51.41% 0.185 338.1)
XYZxyz(21.1161, 11.7422, 25.5755)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D8B #2DA547
analogous
#832DA5 #A52D8B #A52D4F
triadic
#A52D8B #8BA52D #2D8BA5
tetradic
#A52D8B #A5832D #2DA547 #2D4FA5
square
#A52D8B #A5832D #2DA547 #2D4FA5
split-complementary
#A52D8B #4FA52D #2DA583
monochromatic
#45133A #752062 #A52D8B #CC43AE #D973C3

Accessibility & contrast

On white

6.27
#A52D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A52D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D8B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D8B#FFFFFF#000000##FFFFFF
##A52D8B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548E
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#AE3358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52d8b;
/* rgb */ color: rgb(165, 45, 139);
/* oklch */ color: oklch(51.4% 0.185 338.1);
Tailwind
colors: {
  custom: {
    50: '#c371ad',
    500: '#a52d8b',
    950: '#000000',
  },
}
SCSS
$custom: #a52d8b;
$custom-light: #c371ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d8b",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 313,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.18486,
    "h": 338.1
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#A52D8B
secondary
#6DC17F
accent
#E06947
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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