#A52A99#A52A99

#A52A99 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.198 H 332.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A52A99
RGBrgb(165, 42, 153)
HSLhsl(306, 59%, 41%)
HSVhsv(306, 75%, 65%)
CMYKcmyk(0%, 74.5%, 7.3%, 35.3%)
CIE-LABlab(41.15, 61.11, -33.43)
CIE-LCHlch(41.15, 69.66, 331.32°)
OKLaboklab(51.89% 0.1757 -0.0919)
OKLCHoklch(51.89% 0.198 332.4)
XYZxyz(22.0949, 11.9570, 31.2751)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A99 #2AA536
analogous
#732AA5 #A52A99 #A52A5B
triadic
#A52A99 #99A52A #2A99A5
tetradic
#A52A99 #A5732A #2AA536 #2A5BA5
square
#A52A99 #A5732A #2AA536 #2A5BA5
split-complementary
#A52A99 #5BA52A #2AA573
monochromatic
#43113F #741E6C #A52A99 #CE3EC0 #DA6FD0

Accessibility & contrast

On white

6.19
#A52A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A52A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A99
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A99#FFFFFF#000000##FFFFFF
##A52A991.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#AC385F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52a99;
/* rgb */ color: rgb(165, 42, 153);
/* oklch */ color: oklch(51.9% 0.198 332.4);
Tailwind
colors: {
  custom: {
    50: '#c371b7',
    500: '#a52a99',
    950: '#000000',
  },
}
SCSS
$custom: #a52a99;
$custom-light: #c371b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a99",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 305.854,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.19827,
    "h": 332.4
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

primary
#A52A99
secondary
#69C172
accent
#E35545
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52A99

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

Preview Lab → · Contrast checker → · Palette generator →

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