#A52F7F#A52F7F

#A52F7F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 343.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A52F7F
RGBrgb(165, 47, 127)
HSLhsl(319, 56%, 42%)
HSVhsv(319, 72%, 65%)
CMYKcmyk(0%, 71.5%, 23%, 35.3%)
CIE-LABlab(40.52, 55.58, -18.54)
CIE-LCHlch(40.52, 58.59, 341.56°)
OKLaboklab(51.03% 0.1674 -0.0495)
OKLCHoklch(51.03% 0.175 343.5)
XYZxyz(20.3651, 11.5667, 21.2347)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F7F #2FA555
analogous
#902FA5 #A52F7F #A52F44
triadic
#A52F7F #7FA52F #2F7FA5
tetradic
#A52F7F #A5902F #2FA555 #2F44A5
square
#A52F7F #A5902F #2FA555 #2F44A5
split-complementary
#A52F7F #44A52F #2FA590
monochromatic
#461436 #75215A #A52F7F #CB47A0 #D876B9

Accessibility & contrast

On white

6.34
#A52F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A52F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F7F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F7F#FFFFFF#000000##FFFFFF
##A52F7F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5381
Deuteranopia (green-blind)
#5F677C
Tritanopia (blue-blind)
#B02F53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52f7f;
/* rgb */ color: rgb(165, 47, 127);
/* oklch */ color: oklch(51.0% 0.175 343.5);
Tailwind
colors: {
  custom: {
    50: '#c372a4',
    500: '#a52f7f',
    950: '#000000',
  },
}
SCSS
$custom: #a52f7f;
$custom-light: #c372a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f7f",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 319.322,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.17452,
    "h": 343.5
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

primary
#A52F7F
secondary
#70C08A
accent
#DF7949
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A52F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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