#A52F7E#A52F7E

#A52F7E is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.174 H 344.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A52F7E
RGBrgb(165, 47, 126)
HSLhsl(320, 56%, 42%)
HSVhsv(320, 72%, 65%)
CMYKcmyk(0%, 71.5%, 23.6%, 35.3%)
CIE-LABlab(40.48, 55.44, -17.98)
CIE-LCHlch(40.48, 58.28, 342.03°)
OKLaboklab(50.99% 0.1672 -0.048)
OKLCHoklch(50.99% 0.174 344)
XYZxyz(20.3002, 11.5408, 20.8931)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F7E #2FA556
analogous
#912FA5 #A52F7E #A52F43
triadic
#A52F7E #7EA52F #2F7EA5
tetradic
#A52F7E #A5912F #2FA556 #2F43A5
square
#A52F7E #A5912F #2FA556 #2F43A5
split-complementary
#A52F7E #43A52F #2FA591
monochromatic
#461435 #75215A #A52F7E #CB479F #D876B8

Accessibility & contrast

On white

6.35
#A52F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52F7E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F7E#FFFFFF#000000##FFFFFF
##A52F7E1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#5F677B
Tritanopia (blue-blind)
#B02E52
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52f7e;
/* rgb */ color: rgb(165, 47, 126);
/* oklch */ color: oklch(51.0% 0.174 344.0);
Tailwind
colors: {
  custom: {
    50: '#c372a3',
    500: '#a52f7e',
    950: '#000000',
  },
}
SCSS
$custom: #a52f7e;
$custom-light: #c372a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f7e",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 319.831,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.1739,
    "h": 344
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#A52F7E
secondary
#70C08A
accent
#DF7A49
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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