#A52F7C#A52F7C

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

Color values

HEX#A52F7C
RGBrgb(165, 47, 124)
HSLhsl(321, 56%, 42%)
HSVhsv(321, 72%, 65%)
CMYKcmyk(0%, 71.5%, 24.8%, 35.3%)
CIE-LABlab(40.39, 55.17, -16.88)
CIE-LCHlch(40.39, 57.70, 342.99°)
OKLaboklab(50.9% 0.1667 -0.0449)
OKLCHoklch(50.9% 0.173 344.9)
XYZxyz(20.1724, 11.4897, 20.2203)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F7C #2FA558
analogous
#932FA5 #A52F7C #A52F41
triadic
#A52F7C #7CA52F #2F7CA5
tetradic
#A52F7C #A5932F #2FA558 #2F41A5
square
#A52F7C #A5932F #2FA558 #2F41A5
split-complementary
#A52F7C #41A52F #2FA593
monochromatic
#461434 #752158 #A52F7C #CB479D #D876B6

Accessibility & contrast

On white

6.37
#A52F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52F7C
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F7C#FFFFFF#000000##FFFFFF
##A52F7C1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527E
Deuteranopia (green-blind)
#606679
Tritanopia (blue-blind)
#B02D51
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52f7c;
/* rgb */ color: rgb(165, 47, 124);
/* oklch */ color: oklch(50.9% 0.173 344.9);
Tailwind
colors: {
  custom: {
    50: '#c372a2',
    500: '#a52f7c',
    950: '#000000',
  },
}
SCSS
$custom: #a52f7c;
$custom-light: #c372a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f7c",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 320.847,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.17267,
    "h": 344.9
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#A52F7C
secondary
#70C08C
accent
#DF7D49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A52F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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