#A52C8A#A52C8A

#A52C8A is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.185 H 338.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A52C8A
RGBrgb(165, 44, 138)
HSLhsl(313, 58%, 41%)
HSVhsv(313, 73%, 65%)
CMYKcmyk(0%, 73.3%, 16.4%, 35.3%)
CIE-LABlab(40.63, 58.18, -25.12)
CIE-LCHlch(40.63, 63.37, 336.65°)
OKLaboklab(51.27% 0.1724 -0.0681)
OKLCHoklch(51.27% 0.185 338.5)
XYZxyz(21.0057, 11.6377, 25.1798)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52C8A #2CA547
analogous
#832CA5 #A52C8A #A52C4E
triadic
#A52C8A #8AA52C #2C8AA5
tetradic
#A52C8A #A5832C #2CA547 #2C4EA5
square
#A52C8A #A5832C #2CA547 #2C4EA5
split-complementary
#A52C8A #4EA52C #2CA583
monochromatic
#441239 #751F62 #A52C8A #CD42AE #D972C2

Accessibility & contrast

On white

6.31
#A52C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A52C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52C8A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52C8A#FFFFFF#000000##FFFFFF
##A52C8A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#5A6787
Tritanopia (blue-blind)
#AE3257
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52c8a;
/* rgb */ color: rgb(165, 44, 138);
/* oklch */ color: oklch(51.3% 0.185 338.5);
Tailwind
colors: {
  custom: {
    50: '#c371ac',
    500: '#a52c8a',
    950: '#000000',
  },
}
SCSS
$custom: #a52c8a;
$custom-light: #c371ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a52c8a",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 313.388,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.18534,
    "h": 338.5
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#A52C8A
secondary
#6CC17F
accent
#E16947
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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