#A52F83#A52F83

#A52F83 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.177 H 341.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A52F83
RGBrgb(165, 47, 131)
HSLhsl(317, 56%, 42%)
HSVhsv(317, 72%, 65%)
CMYKcmyk(0%, 71.5%, 20.6%, 35.3%)
CIE-LABlab(40.69, 56.13, -20.73)
CIE-LCHlch(40.69, 59.84, 339.73°)
OKLaboklab(51.21% 0.1681 -0.0557)
OKLCHoklch(51.21% 0.177 341.7)
XYZxyz(20.6309, 11.6731, 22.6349)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F83 #2FA551
analogous
#8C2FA5 #A52F83 #A52F48
triadic
#A52F83 #83A52F #2F83A5
tetradic
#A52F83 #A58C2F #2FA551 #2F48A5
square
#A52F83 #A58C2F #2FA551 #2F48A5
split-complementary
#A52F83 #48A52F #2FA58C
monochromatic
#461437 #75215D #A52F83 #CB47A5 #D876BC

Accessibility & contrast

On white

6.30
#A52F83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A52F83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F83
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F83#FFFFFF#000000##FFFFFF
##A52F831.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395485
Deuteranopia (green-blind)
#5E6780
Tritanopia (blue-blind)
#AF3155
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52f83;
/* rgb */ color: rgb(165, 47, 131);
/* oklch */ color: oklch(51.2% 0.177 341.7);
Tailwind
colors: {
  custom: {
    50: '#c372a7',
    500: '#a52f83',
    950: '#000000',
  },
}
SCSS
$custom: #a52f83;
$custom-light: #c372a7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f83",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 317.288,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.17708,
    "h": 341.7
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#A52F83
secondary
#70C087
accent
#DF7449
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A52F83

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

Preview Lab → · Contrast checker → · Palette generator →

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