#A52F89#A52F89

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

Color values

HEX#A52F89
RGBrgb(165, 47, 137)
HSLhsl(314, 56%, 42%)
HSVhsv(314, 72%, 65%)
CMYKcmyk(0%, 71.5%, 17%, 35.3%)
CIE-LABlab(40.96, 56.98, -24.00)
CIE-LCHlch(40.96, 61.83, 337.17°)
OKLaboklab(51.5% 0.1691 -0.0649)
OKLCHoklch(51.5% 0.181 339)
XYZxyz(21.0494, 11.8405, 24.8389)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F89 #2FA54B
analogous
#862FA5 #A52F89 #A52F4E
triadic
#A52F89 #89A52F #2F89A5
tetradic
#A52F89 #A5862F #2FA54B #2F4EA5
square
#A52F89 #A5862F #2FA54B #2F4EA5
split-complementary
#A52F89 #4EA52F #2FA586
monochromatic
#46143A #752161 #A52F89 #CB47AB #D876C1

Accessibility & contrast

On white

6.24
#A52F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A52F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F89
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F89#FFFFFF#000000##FFFFFF
##A52F891.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#5B6786
Tritanopia (blue-blind)
#AE3458
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52f89;
/* rgb */ color: rgb(165, 47, 137);
/* oklch */ color: oklch(51.5% 0.181 339.0);
Tailwind
colors: {
  custom: {
    50: '#c372ab',
    500: '#a52f89',
    950: '#000000',
  },
}
SCSS
$custom: #a52f89;
$custom-light: #c372ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f89",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 314.237,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.18111,
    "h": 339
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#A52F89
secondary
#70C083
accent
#DF6C49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A52F89

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

Preview Lab → · Contrast checker → · Palette generator →

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