#A52A78#A52A78

#A52A78 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.176 H 346.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A52A78
RGBrgb(165, 42, 120)
HSLhsl(322, 59%, 41%)
HSVhsv(322, 75%, 65%)
CMYKcmyk(0%, 74.5%, 27.3%, 35.3%)
CIE-LABlab(39.60, 56.41, -15.60)
CIE-LCHlch(39.60, 58.53, 344.54°)
OKLaboklab(50.27% 0.1713 -0.0413)
OKLCHoklch(50.27% 0.176 346.4)
XYZxyz(19.7361, 11.0135, 18.8521)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A78 #2AA557
analogous
#942AA5 #A52A78 #A52A3B
triadic
#A52A78 #78A52A #2A78A5
tetradic
#A52A78 #A5942A #2AA557 #2A3BA5
square
#A52A78 #A5942A #2AA557 #2A3BA5
split-complementary
#A52A78 #3BA52A #2AA594
monochromatic
#431131 #741E55 #A52A78 #CE3E99 #DA6FB3

Accessibility & contrast

On white

6.56
#A52A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A52A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A78
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A78#FFFFFF#000000##FFFFFF
##A52A781.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507A
Deuteranopia (green-blind)
#5F6575
Tritanopia (blue-blind)
#B1264D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52a78;
/* rgb */ color: rgb(165, 42, 120);
/* oklch */ color: oklch(50.3% 0.176 346.4);
Tailwind
colors: {
  custom: {
    50: '#c46f9f',
    500: '#a52a78',
    950: '#000000',
  },
}
SCSS
$custom: #a52a78;
$custom-light: #c46f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a78",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 321.951,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.17623,
    "h": 346.4
  },
  "luminance": 0.11011
}

Semantic roles & 50–950 ramp

primary
#A52A78
secondary
#69C18A
accent
#E37F45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52A78

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

Preview Lab → · Contrast checker → · Palette generator →

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