#A52E8A#A52E8A

#A52E8A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.183 H 338.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A52E8A
RGBrgb(165, 46, 138)
HSLhsl(314, 56%, 41%)
HSVhsv(314, 72%, 65%)
CMYKcmyk(0%, 72.1%, 16.4%, 35.3%)
CIE-LABlab(40.88, 57.49, -24.73)
CIE-LCHlch(40.88, 62.58, 336.72°)
OKLaboklab(51.45% 0.1703 -0.067)
OKLCHoklch(51.45% 0.183 338.5)
XYZxyz(21.0820, 11.7903, 25.2053)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52E8A #2EA549
analogous
#852EA5 #A52E8A #A52E4F
triadic
#A52E8A #8AA52E #2E8AA5
tetradic
#A52E8A #A5852E #2EA549 #2E4FA5
square
#A52E8A #A5852E #2EA549 #2E4FA5
split-complementary
#A52E8A #4FA52E #2EA585
monochromatic
#45133A #752162 #A52E8A #CB45AD #D875C2

Accessibility & contrast

On white

6.25
#A52E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A52E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52E8A
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52E8A#FFFFFF#000000##FFFFFF
##A52E8A1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#5B6787
Tritanopia (blue-blind)
#AE3358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52e8a;
/* rgb */ color: rgb(165, 46, 138);
/* oklch */ color: oklch(51.5% 0.183 338.5);
Tailwind
colors: {
  custom: {
    50: '#c372ac',
    500: '#a52e8a',
    950: '#000000',
  },
}
SCSS
$custom: #a52e8a;
$custom-light: #c372ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a52e8a",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 313.613,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51453,
    "c": 0.183,
    "h": 338.5
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#A52E8A
secondary
#6FC081
accent
#E06B48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A52E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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