#A52F88#A52F88

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

Color values

HEX#A52F88
RGBrgb(165, 47, 136)
HSLhsl(315, 56%, 42%)
HSVhsv(315, 72%, 65%)
CMYKcmyk(0%, 71.5%, 17.6%, 35.3%)
CIE-LABlab(40.92, 56.84, -23.45)
CIE-LCHlch(40.92, 61.49, 337.58°)
OKLaboklab(51.45% 0.1689 -0.0634)
OKLCHoklch(51.45% 0.18 339.4)
XYZxyz(20.9780, 11.8119, 24.4629)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F88 #2FA54C
analogous
#872FA5 #A52F88 #A52F4D
triadic
#A52F88 #88A52F #2F88A5
tetradic
#A52F88 #A5872F #2FA54C #2F4DA5
square
#A52F88 #A5872F #2FA54C #2F4DA5
split-complementary
#A52F88 #4DA52F #2FA587
monochromatic
#461439 #752161 #A52F88 #CB47AA #D876C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52F88#FFFFFF#000000##FFFFFF
##A52F881.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)
#36558B
Deuteranopia (green-blind)
#5C6785
Tritanopia (blue-blind)
#AF3357
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52f88;
/* rgb */ color: rgb(165, 47, 136);
/* oklch */ color: oklch(51.4% 0.180 339.4);
Tailwind
colors: {
  custom: {
    50: '#c372ab',
    500: '#a52f88',
    950: '#000000',
  },
}
SCSS
$custom: #a52f88;
$custom-light: #c372ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f88",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 314.746,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51448,
    "c": 0.18042,
    "h": 339.4
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52F88

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

Preview Lab → · Contrast checker → · Palette generator →

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