#A52D82#A52D82

#A52D82 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.179 H 342.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A52D82
RGBrgb(165, 45, 130)
HSLhsl(318, 57%, 41%)
HSVhsv(318, 73%, 65%)
CMYKcmyk(0%, 72.7%, 21.2%, 35.3%)
CIE-LABlab(40.39, 56.71, -20.58)
CIE-LCHlch(40.39, 60.32, 340.05°)
OKLaboklab(50.98% 0.1701 -0.0552)
OKLCHoklch(50.98% 0.179 342)
XYZxyz(20.4854, 11.4899, 22.2537)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D82 #2DA550
analogous
#8C2DA5 #A52D82 #A52D46
triadic
#A52D82 #82A52D #2D82A5
tetradic
#A52D82 #A58C2D #2DA550 #2D46A5
square
#A52D82 #A58C2D #2DA550 #2D46A5
split-complementary
#A52D82 #46A52D #2DA58C
monochromatic
#451336 #75205C #A52D82 #CC43A4 #D973BB

Accessibility & contrast

On white

6.37
#A52D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A52D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D82
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D82#FFFFFF#000000##FFFFFF
##A52D821.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#5D667F
Tritanopia (blue-blind)
#AF2F54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52d82;
/* rgb */ color: rgb(165, 45, 130);
/* oklch */ color: oklch(51.0% 0.179 342.0);
Tailwind
colors: {
  custom: {
    50: '#c371a6',
    500: '#a52d82',
    950: '#000000',
  },
}
SCSS
$custom: #a52d82;
$custom-light: #c371a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d82",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 317.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.17885,
    "h": 342
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52D82

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

Preview Lab → · Contrast checker → · Palette generator →

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