#A52A82#A52A82

#A52A82 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.182 H 341.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A52A82
RGBrgb(165, 42, 130)
HSLhsl(317, 59%, 41%)
HSVhsv(317, 75%, 65%)
CMYKcmyk(0%, 74.5%, 21.2%, 35.3%)
CIE-LABlab(40.03, 57.73, -21.14)
CIE-LCHlch(40.03, 61.48, 339.89°)
OKLaboklab(50.72% 0.1732 -0.0568)
OKLCHoklch(50.72% 0.182 341.9)
XYZxyz(20.3750, 11.2690, 22.2169)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A82 #2AA54D
analogous
#8A2AA5 #A52A82 #A52A45
triadic
#A52A82 #82A52A #2A82A5
tetradic
#A52A82 #A58A2A #2AA54D #2A45A5
square
#A52A82 #A58A2A #2AA54D #2A45A5
split-complementary
#A52A82 #45A52A #2AA58A
monochromatic
#431135 #741E5C #A52A82 #CE3EA5 #DA6FBC

Accessibility & contrast

On white

6.45
#A52A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A52A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A82
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A82#FFFFFF#000000##FFFFFF
##A52A821.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355284
Deuteranopia (green-blind)
#5C667F
Tritanopia (blue-blind)
#AF2C53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52a82;
/* rgb */ color: rgb(165, 42, 130);
/* oklch */ color: oklch(50.7% 0.182 341.9);
Tailwind
colors: {
  custom: {
    50: '#c470a6',
    500: '#a52a82',
    950: '#000000',
  },
}
SCSS
$custom: #a52a82;
$custom-light: #c470a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a82",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 317.073,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50717,
    "c": 0.18232,
    "h": 341.9
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#A52A82
secondary
#69C182
accent
#E37245
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52A82

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

Preview Lab → · Contrast checker → · Palette generator →

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