#A52F8B#A52F8B

#A52F8B is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.182 H 338.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A52F8B
RGBrgb(165, 47, 139)
HSLhsl(313, 56%, 42%)
HSVhsv(313, 72%, 65%)
CMYKcmyk(0%, 71.5%, 15.8%, 35.3%)
CIE-LABlab(41.05, 57.28, -25.07)
CIE-LCHlch(41.05, 62.52, 336.36°)
OKLaboklab(51.59% 0.1694 -0.068)
OKLCHoklch(51.59% 0.182 338.1)
XYZxyz(21.1942, 11.8984, 25.6015)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F8B #2FA549
analogous
#842FA5 #A52F8B #A52F50
triadic
#A52F8B #8BA52F #2F8BA5
tetradic
#A52F8B #A5842F #2FA549 #2F50A5
square
#A52F8B #A5842F #2FA549 #2F50A5
split-complementary
#A52F8B #50A52F #2FA584
monochromatic
#46143B #752163 #A52F8B #CB47AD #D876C3

Accessibility & contrast

On white

6.21
#A52F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A52F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F8B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F8B#FFFFFF#000000##FFFFFF
##A52F8B1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#5B6788
Tritanopia (blue-blind)
#AE3559
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52f8b;
/* rgb */ color: rgb(165, 47, 139);
/* oklch */ color: oklch(51.6% 0.182 338.1);
Tailwind
colors: {
  custom: {
    50: '#c372ad',
    500: '#a52f8b',
    950: '#000000',
  },
}
SCSS
$custom: #a52f8b;
$custom-light: #c372ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f8b",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 313.22,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.18249,
    "h": 338.1
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#A52F8B
secondary
#70C081
accent
#DF6A49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A52F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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