#A52D81#A52D81

#A52D81 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.178 H 342.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A52D81
RGBrgb(165, 45, 129)
HSLhsl(318, 57%, 41%)
HSVhsv(318, 73%, 65%)
CMYKcmyk(0%, 72.7%, 21.8%, 35.3%)
CIE-LABlab(40.35, 56.57, -20.03)
CIE-LCHlch(40.35, 60.01, 340.50°)
OKLaboklab(50.93% 0.1699 -0.0537)
OKLCHoklch(50.93% 0.178 342.5)
XYZxyz(20.4186, 11.4632, 21.9019)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D81 #2DA551
analogous
#8D2DA5 #A52D81 #A52D45
triadic
#A52D81 #81A52D #2D81A5
tetradic
#A52D81 #A58D2D #2DA551 #2D45A5
square
#A52D81 #A58D2D #2DA551 #2D45A5
split-complementary
#A52D81 #45A52D #2DA58D
monochromatic
#451336 #75205B #A52D81 #CC43A3 #D973BA

Accessibility & contrast

On white

6.38
#A52D81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A52D81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D81
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D81#FFFFFF#000000##FFFFFF
##A52D811.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385383
Deuteranopia (green-blind)
#5E667E
Tritanopia (blue-blind)
#AF2E53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52d81;
/* rgb */ color: rgb(165, 45, 129);
/* oklch */ color: oklch(50.9% 0.178 342.5);
Tailwind
colors: {
  custom: {
    50: '#c371a5',
    500: '#a52d81',
    950: '#000000',
  },
}
SCSS
$custom: #a52d81;
$custom-light: #c371a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d81",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 318,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.17821,
    "h": 342.5
  },
  "luminance": 0.11461
}

Semantic roles & 50–950 ramp

primary
#A52D81
secondary
#6DC186
accent
#E07547
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52D81

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

Preview Lab → · Contrast checker → · Palette generator →

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