#A52780#A52780

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

Color values

HEX#A52780
RGBrgb(165, 39, 128)
HSLhsl(318, 62%, 40%)
HSVhsv(318, 76%, 65%)
CMYKcmyk(0%, 76.4%, 22.4%, 35.3%)
CIE-LABlab(39.60, 58.43, -20.57)
CIE-LCHlch(39.60, 61.95, 340.61°)
OKLaboklab(50.38% 0.1759 -0.0552)
OKLCHoklch(50.38% 0.184 342.6)
XYZxyz(20.1396, 11.0110, 21.4826)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52780 #27A54C
analogous
#8B27A5 #A52780 #A52741
triadic
#A52780 #80A527 #2780A5
tetradic
#A52780 #A58B27 #27A54C #2741A5
square
#A52780 #A58B27 #27A54C #2741A5
split-complementary
#A52780 #41A527 #27A58B
monochromatic
#421033 #741B5A #A52780 #D039A4 #DC6ABB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52780#FFFFFF#000000##FFFFFF
##A527801.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)
#345082
Deuteranopia (green-blind)
#5C657D
Tritanopia (blue-blind)
#B02851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52780;
/* rgb */ color: rgb(165, 39, 128);
/* oklch */ color: oklch(50.4% 0.184 342.6);
Tailwind
colors: {
  custom: {
    50: '#c46fa5',
    500: '#a52780',
    950: '#000000',
  },
}
SCSS
$custom: #a52780;
$custom-light: #c46fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52780",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 317.619,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.18434,
    "h": 342.6
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#A52780
secondary
#66C281
accent
#E57243
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52780

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

Preview Lab → · Contrast checker → · Palette generator →

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