#A52F78#A52F78

#A52F78 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.170 H 346.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A52F78
RGBrgb(165, 47, 120)
HSLhsl(323, 56%, 42%)
HSVhsv(323, 72%, 65%)
CMYKcmyk(0%, 71.5%, 27.3%, 35.3%)
CIE-LABlab(40.23, 54.65, -14.65)
CIE-LCHlch(40.23, 56.58, 345.00°)
OKLaboklab(50.72% 0.1659 -0.0387)
OKLCHoklch(50.72% 0.17 346.9)
XYZxyz(19.9246, 11.3906, 18.9150)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F78 #2FA55C
analogous
#972FA5 #A52F78 #A52F3D
triadic
#A52F78 #78A52F #2F78A5
tetradic
#A52F78 #A5972F #2FA55C #2F3DA5
square
#A52F78 #A5972F #2FA55C #2F3DA5
split-complementary
#A52F78 #3DA52F #2FA597
monochromatic
#461433 #752155 #A52F78 #CB4798 #D876B3

Accessibility & contrast

On white

6.41
#A52F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A52F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F78
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F78#FFFFFF#000000##FFFFFF
##A52F781.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527A
Deuteranopia (green-blind)
#616675
Tritanopia (blue-blind)
#B02C4F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52f78;
/* rgb */ color: rgb(165, 47, 120);
/* oklch */ color: oklch(50.7% 0.170 346.9);
Tailwind
colors: {
  custom: {
    50: '#c4729f',
    500: '#a52f78',
    950: '#000000',
  },
}
SCSS
$custom: #a52f78;
$custom-light: #c4729f;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f78",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 322.881,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50725,
    "c": 0.1703,
    "h": 346.9
  },
  "luminance": 0.11388
}

Semantic roles & 50–950 ramp

primary
#A52F78
secondary
#70C08E
accent
#DF8249
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52F78

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

Preview Lab → · Contrast checker → · Palette generator →

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