#A52881#A52881

#A52881 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.184 H 342.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A52881
RGBrgb(165, 40, 129)
HSLhsl(317, 61%, 40%)
HSVhsv(317, 76%, 65%)
CMYKcmyk(0%, 75.8%, 21.8%, 35.3%)
CIE-LABlab(39.76, 58.25, -20.95)
CIE-LCHlch(39.76, 61.90, 340.22°)
OKLaboklab(50.5% 0.1751 -0.0562)
OKLCHoklch(50.5% 0.184 342.2)
XYZxyz(20.2390, 11.1040, 21.8420)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52881 #28A54C
analogous
#8A28A5 #A52881 #A52842
triadic
#A52881 #81A528 #2881A5
tetradic
#A52881 #A58A28 #28A54C #2842A5
square
#A52881 #A58A28 #28A54C #2842A5
split-complementary
#A52881 #42A528 #28A58A
monochromatic
#421034 #741C5A #A52881 #CF3BA5 #DB6CBB

Accessibility & contrast

On white

6.52
#A52881 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A52881 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52881
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52881#FFFFFF#000000##FFFFFF
##A528811.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345183
Deuteranopia (green-blind)
#5C657E
Tritanopia (blue-blind)
#B02951
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52881;
/* rgb */ color: rgb(165, 40, 129);
/* oklch */ color: oklch(50.5% 0.184 342.2);
Tailwind
colors: {
  custom: {
    50: '#c46fa5',
    500: '#a52881',
    950: '#000000',
  },
}
SCSS
$custom: #a52881;
$custom-light: #c46fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52881",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 317.28,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.18389,
    "h": 342.2
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#A52881
secondary
#67C281
accent
#E47244
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52881

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

Preview Lab → · Contrast checker → · Palette generator →

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