#A52D7A#A52D7A

#A52D7A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.174 H 345.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A52D7A
RGBrgb(165, 45, 122)
HSLhsl(322, 57%, 41%)
HSVhsv(322, 73%, 65%)
CMYKcmyk(0%, 72.7%, 26.1%, 35.3%)
CIE-LABlab(40.05, 55.63, -16.16)
CIE-LCHlch(40.05, 57.93, 343.81°)
OKLaboklab(50.62% 0.1685 -0.0429)
OKLCHoklch(50.62% 0.174 345.7)
XYZxyz(19.9691, 11.2834, 19.5348)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D7A #2DA558
analogous
#942DA5 #A52D7A #A52D3E
triadic
#A52D7A #7AA52D #2D7AA5
tetradic
#A52D7A #A5942D #2DA558 #2D3EA5
square
#A52D7A #A5942D #2DA558 #2D3EA5
split-complementary
#A52D7A #3EA52D #2DA594
monochromatic
#451333 #752056 #A52D7A #CC439B #D973B5

Accessibility & contrast

On white

6.45
#A52D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A52D7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D7A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D7A#FFFFFF#000000##FFFFFF
##A52D7A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517C
Deuteranopia (green-blind)
#606677
Tritanopia (blue-blind)
#B02A4F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52d7a;
/* rgb */ color: rgb(165, 45, 122);
/* oklch */ color: oklch(50.6% 0.174 345.7);
Tailwind
colors: {
  custom: {
    50: '#c471a0',
    500: '#a52d7a',
    950: '#000000',
  },
}
SCSS
$custom: #a52d7a;
$custom-light: #c471a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d7a",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 321.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.17391,
    "h": 345.7
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#A52D7A
secondary
#6DC18B
accent
#E07E47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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