#A52D7F#A52D7F

#A52D7F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.177 H 343.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A52D7F
RGBrgb(165, 45, 127)
HSLhsl(319, 57%, 41%)
HSVhsv(319, 73%, 65%)
CMYKcmyk(0%, 72.7%, 23%, 35.3%)
CIE-LABlab(40.26, 56.30, -18.93)
CIE-LCHlch(40.26, 59.39, 341.42°)
OKLaboklab(50.84% 0.1696 -0.0506)
OKLCHoklch(50.84% 0.177 343.4)
XYZxyz(20.2869, 11.4105, 21.2086)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D7F #2DA553
analogous
#8F2DA5 #A52D7F #A52D43
triadic
#A52D7F #7FA52D #2D7FA5
tetradic
#A52D7F #A58F2D #2DA553 #2D43A5
square
#A52D7F #A58F2D #2DA553 #2D43A5
split-complementary
#A52D7F #43A52D #2DA58F
monochromatic
#451335 #75205A #A52D7F #CC43A1 #D973B9

Accessibility & contrast

On white

6.40
#A52D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A52D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D7F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D7F#FFFFFF#000000##FFFFFF
##A52D7F1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#B02D52
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52d7f;
/* rgb */ color: rgb(165, 45, 127);
/* oklch */ color: oklch(50.8% 0.177 343.4);
Tailwind
colors: {
  custom: {
    50: '#c371a4',
    500: '#a52d7f',
    950: '#000000',
  },
}
SCSS
$custom: #a52d7f;
$custom-light: #c371a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d7f",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 319,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.17695,
    "h": 343.4
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#A52D7F
secondary
#6DC188
accent
#E07847
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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