#A52981#A52981

#A52981 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.183 H 342.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A52981
RGBrgb(165, 41, 129)
HSLhsl(317, 60%, 40%)
HSVhsv(317, 75%, 65%)
CMYKcmyk(0%, 75.2%, 21.8%, 35.3%)
CIE-LABlab(39.87, 57.93, -20.77)
CIE-LCHlch(39.87, 61.54, 340.27°)
OKLaboklab(50.59% 0.1741 -0.0557)
OKLCHoklch(50.59% 0.183 342.2)
XYZxyz(20.2731, 11.1723, 21.8534)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52981 #29A54D
analogous
#8B29A5 #A52981 #A52943
triadic
#A52981 #81A529 #2981A5
tetradic
#A52981 #A58B29 #29A54D #2943A5
square
#A52981 #A58B29 #29A54D #2943A5
split-complementary
#A52981 #43A529 #29A58B
monochromatic
#431134 #741D5B #A52981 #CF3DA4 #DB6EBB

Accessibility & contrast

On white

6.49
#A52981 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A52981 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52981
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52981#FFFFFF#000000##FFFFFF
##A529811.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52981;
/* rgb */ color: rgb(165, 41, 129);
/* oklch */ color: oklch(50.6% 0.183 342.2);
Tailwind
colors: {
  custom: {
    50: '#c46fa5',
    500: '#a52981',
    950: '#000000',
  },
}
SCSS
$custom: #a52981;
$custom-light: #c46fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52981",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 129
  },
  "hsl": {
    "h": 317.419,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.1828,
    "h": 342.2
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#A52981
secondary
#68C282
accent
#E37344
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52981

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

Preview Lab → · Contrast checker → · Palette generator →

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