#A52F7D#A52F7D

#A52F7D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.173 H 344.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A52F7D
RGBrgb(165, 47, 125)
HSLhsl(320, 56%, 42%)
HSVhsv(320, 72%, 65%)
CMYKcmyk(0%, 71.5%, 24.2%, 35.3%)
CIE-LABlab(40.43, 55.31, -17.43)
CIE-LCHlch(40.43, 57.99, 342.51°)
OKLaboklab(50.94% 0.1669 -0.0464)
OKLCHoklch(50.94% 0.173 344.5)
XYZxyz(20.2360, 11.5151, 20.5550)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F7D #2FA557
analogous
#922FA5 #A52F7D #A52F42
triadic
#A52F7D #7DA52F #2F7DA5
tetradic
#A52F7D #A5922F #2FA557 #2F42A5
square
#A52F7D #A5922F #2FA557 #2F42A5
split-complementary
#A52F7D #42A52F #2FA592
monochromatic
#461435 #752159 #A52F7D #CB479E #D876B7

Accessibility & contrast

On white

6.36
#A52F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A52F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F7D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F7D#FFFFFF#000000##FFFFFF
##A52F7D1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C537F
Deuteranopia (green-blind)
#60667A
Tritanopia (blue-blind)
#B02E52
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52f7d;
/* rgb */ color: rgb(165, 47, 125);
/* oklch */ color: oklch(50.9% 0.173 344.5);
Tailwind
colors: {
  custom: {
    50: '#c372a2',
    500: '#a52f7d',
    950: '#000000',
  },
}
SCSS
$custom: #a52f7d;
$custom-light: #c372a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f7d",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 320.339,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.17329,
    "h": 344.5
  },
  "luminance": 0.11513
}

Semantic roles & 50–950 ramp

primary
#A52F7D
secondary
#70C08B
accent
#DF7C49
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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